API Window creation notification

CrockettS

New member
Joined
Aug 30, 2003
Messages
1
Im trying to find a way or see some example VB.NET code for hooking into the message system. I want to have my application notified (and get the windows handle) of any new application or window that opens on the desktop i.e. notepad, excel, etc. but without using a timer in my application as this in itself presents some overhead.

....as far as I can tell from doing some research, hooking into the Windows message queue seems to be the only way (is subclassing able to do the same?)

If anyone has any suggestions, they would be much appreciated.
 
Back
Top