Re: [WIN]Testing for duplicate windows

new topic     » goto parent     » topic index » view thread      » older message » newer message

.. 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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu