Re: [WIN]Testing for duplicate windows
- Posted by Wolf <wolfritz at KING.IGS.NET> Feb 03, 2001
- 462 views
.. upon reflection, since a console doesn't seem to have a window class ;-( .. and you are looking for a console ??? You might just poll using one of these: constant STD_OUTPUT_HANDLE = #FFFFFFF5, STD_ERROR_HANDLE = #FFFFFFF4, -- -- with this function: zGetStdHandle=registerw32Function(kernel32, "GetStdHandle",{C_INT},C_INT) -- If there is no console open, the function will return -1. --INVALID_HANDLE_VALUE=#FFFFFFFF Wolf