I found a way to do it without using a hook at all. Instead, subclass your form and call RegisterShellHookWindow() to receive the shell notifications.
Attached is a demo which monitors to see if Notepad is open.
|
Results 1 to 40 of 98
Threaded View
|
Click Here to Expand Forum to Full Width |