Skip to main content
GameDev.net gamedev.net
🔒 Locked

Hiding Console

Started by Webbster Jan 21, 2005 at 3:51 PM 0 replies 1.5k views
Original Post
Webbster
Webbster
In a C++ Console application is there a function in the Win32 API which will allow me to hide the console itself at any time during the running of the application?
conman
conman
Hi webbster,

that may depend on the situation, but if you have a console connected to your application you can disconnect it and if no other thread uses this console it will be closed. But there may be cases where you cannot disconnect from the console that I don't know.

Give the Win32 function FreeConsole() a closer look.

There is a good example how to handle the console window here.

Constantin

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.