Author Topic: Stay on the Code::Blocks menu  (Read 2825 times)

Offline purpleferns

  • Single posting newcomer
  • *
  • Posts: 6
Stay on the Code::Blocks menu
« on: January 24, 2024, 04:46:02 pm »
After compiling and running my files, when I close the console it also switches to another window if I have one up. It doesn't close or minimize the Code::Blocks application, it just as if it tabs to that window and moves Code::Blocks to the back. Is there a way to change this behavior?
« Last Edit: January 24, 2024, 04:48:12 pm by purpleferns »

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2813
Re: Stay on the Code::Blocks menu
« Reply #1 on: January 24, 2024, 06:55:14 pm »
After compiling and running my files, when I close the console it also switches to another window if I have one up. It doesn't close or minimize the Code::Blocks application, it just as if it tabs to that window and moves Code::Blocks to the back. Is there a way to change this behavior?

You really need to provide more info. Like version of CodeBlocks, your OS, etc.

But two things I know that can cause this. The foreground window that gets the focus after your program terminates may be set to Always-On-Top, or you're running your OS in Focus-Follows-Mouse mode.

Offline purpleferns

  • Single posting newcomer
  • *
  • Posts: 6
Re: Stay on the Code::Blocks menu
« Reply #2 on: January 25, 2024, 04:04:06 pm »
Most recent stable version of Code::Blocks on Windows 11

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7699
    • My Best Post
Re: Stay on the Code::Blocks menu
« Reply #3 on: January 25, 2024, 05:10:04 pm »
Most recent stable version of Code::Blocks on Windows 11

I would consider some of the nightly esp. the recent ones more stable than the last CB release; suggest stating what CB version you are using?
The last release? Nightly CB version?

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline purpleferns

  • Single posting newcomer
  • *
  • Posts: 6
Re: Stay on the Code::Blocks menu
« Reply #4 on: January 26, 2024, 03:53:16 pm »
Version 20.03