Robert May schrieb: ...
If only there was a way to ask AllocWindow() to create a hidden console, but I read that it's impossible. (I do want to explore the possibility of using a global hook to see if I can catch one of the messages that happens early during window creation, and fiddle the WS_VISIBLE style, but I'm not hopeful!)
You can create it offscreen, to the right or left. So you can use CreateProcess() with dwCreationFlags += CREATE_NEW_CONSOLE, instead of AllocConsole() And STARTUPINFO.dwX holds the offscreen position. -- Reini Urban http://phpwiki.org/ http://helsinki.at/ http://spacemovie.mur.at/