Mail Archives: cygwin/1998/02/22/00:53:30
Michael Czapski wrote:
> The code on Win95 runs within a console/command window. I have a desire to
> minimise the console window. How do I get a hWnd (window handle) to the
> console window my executable is running in ?
MS suggests the following method:
GetConsoleTitle(save_title);
SetConsoleTitle("some unique title");
Sleep(40);
hWnd=FindWindow("unique title")
SetConsoleTitle(save_title);
--
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia
Looking for a job
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -