Author Topic: How can make the console back to window mode?  (Read 3520 times)

Offline cotaku

  • Single posting newcomer
  • *
  • Posts: 3
How can make the console back to window mode?
« on: August 30, 2015, 12:55:43 am »
I was trying to have a better view at the output, so I decided to full screen the console. The problem is it now took over the entire monitor and the title disappear. So I can't turn it back. I already change the properties in command prompt but nothing change. I also uninstall codeblocks using revo uninstaller and then clean with cccleaner. After I reinstall it's still the same. I really don't know what else to do. BTW I'm using it on windows 7.

Thanks in advance.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: How can make the console back to window mode?
« Reply #1 on: August 30, 2015, 03:00:03 am »
I was trying to have a better view at the output, so I decided to full screen the console. The problem is it now took over the entire monitor and the title disappear. So I can't turn it back. I already change the properties in command prompt but nothing change. I also uninstall codeblocks using revo uninstaller and then clean with cccleaner. After I reinstall it's still the same. I really don't know what else to do. BTW I'm using it on windows 7.

Thanks in advance.

This is a Windows Question and NOT on topic for this site; please read the rules before your next post. http://forums.codeblocks.org/index.php/topic,9996.0.html

Solution below
Find a short cut to the cmd.exe
Right click on short cut
Select options tab
Change display option to window.

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 cotaku

  • Single posting newcomer
  • *
  • Posts: 3
Re: How can make the console back to window mode?
« Reply #2 on: August 30, 2015, 05:40:06 am »
I'm sorry if I misunderstood the problem. And think it's code block related. But even the solution you gave does not work too. And it's actually the reason I think it is somewhat codeblock fault.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: How can make the console back to window mode?
« Reply #3 on: August 30, 2015, 10:59:02 am »
If it is a CB issue the solution is likely to delete (or rename) the  CB config file(s).

In folder %APPDATA%\Roaming\CodeBlocks
The file name is normally "default.conf".

Edit: I was able to re-create your problem; but, deleting the CB config failed to fix it.
I still say the solution is a Windows solution; but, I can see why you think it should have a CB based solution.

Tim S.
« Last Edit: August 30, 2015, 11:33:16 am by stahta01 »
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 stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: How can make the console back to window mode?
« Reply #4 on: August 30, 2015, 11:55:31 am »
Found the solution; but, it is NOT newbie friendly.
And, it is a Windows problem; but, one that it would be nice to have a CB fix or workaround.

When you changed the cmd.exe windows it resulted in a register entry under windows 7 32 bit for me.

Code
HKEY_CURRENT_USER\Console\C:_Apps32_cb_release_cb_console_runner.exe

My CB is installed in this path
Code
C:\Apps32\cb_release

Deleting the entry fixed the problem; but, it is not something you want a windows newbie to do.
If you are a Windows advanced user; I have given you enough info to fix the problem.
But, that is NOT likely to be true. I will see if I can find a safe way for normal windows users to fix the problem.

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 stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: How can make the console back to window mode?
« Reply #5 on: August 30, 2015, 05:56:14 pm »
Link to fix for Windows 7 32 bit. https://github.com/stahta01/stahta01.github.io/blob/master/CodeBlocks/CB_Windows_fixes/delete_Console_cb_console_runner.reg

Could NOT duplicate the problem under Windows 7 64 bit.

If you still have the problem I can likely guess on the fix; but, I need to know the CB installation path to do so.

Follow link and click on raw button to download reg file.
Edit2: In Firefox, I next used saved page to save the file.
Then, run reg file it should fix the issue if your Code::Blocks installation folder matched mine.
Edit: Double clicking on the reg file should run it.

Tim S.
« Last Edit: August 30, 2015, 06:16:39 pm by stahta01 »
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 cotaku

  • Single posting newcomer
  • *
  • Posts: 3
Re: How can make the console back to window mode?
« Reply #6 on: September 01, 2015, 02:06:20 am »
Found the solution; but, it is NOT newbie friendly.
And, it is a Windows problem; but, one that it would be nice to have a CB fix or workaround.

When you changed the cmd.exe windows it resulted in a register entry under windows 7 32 bit for me.

Code
HKEY_CURRENT_USER\Console\C:_Apps32_cb_release_cb_console_runner.exe

My CB is installed in this path
Code
C:\Apps32\cb_release

Deleting the entry fixed the problem; but, it is not something you want a windows newbie to do.
If you are a Windows advanced user; I have given you enough info to fix the problem.
But, that is NOT likely to be true. I will see if I can find a safe way for normal windows users to fix the problem.

Tim S.

Thank you so much for all your response. Everything is fine now. Thanks to this solution ^_^.