matthewsmith
asked on
AllocConsole() question
Hi, is it possible to hide the console window that pops up when you make a call to AllocConsole? Thanks.
-Matt
-Matt
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Obtaining a Console Window Handle (HWND)
Article ID: Q124103
Article ID: Q124103
If I'm not wrong, you have to wait (Sleep) some time between AllocConsole() and attempt to find the console window.
ASKER
Thanks for the help all. It's kind of annoying to have the console window flash when starting up the gui app, but hey, it works. Thanks again. :)
ASKER
-Matt