check whether a window exists from handle.
Posted on 2007-10-16
a quick question, i have a windows hwnd handle (a window i have hooked into) and i want to poll this window and close my program when it closes.
I have been doing this like so
if(FindWindow(NULL, <title>) == 0)
however the program in question which im hooking into changes i title through its use. The hwnd stays constant though is there any was i can replace the findwindow to check if it exists using the handle?