View Single Post
Re: hook on window events? (not self)
Old
  (#2)
Lazy
Member
 
Lazy's Avatar
 
Status: Offline
Posts: 236
Join Date: Jan 2004
Location: Toronto, Ontario, Canada
Default Re: hook on window events? (not self) - 02-10-2004

You can use SetWindowsHookEx to load a dll into the target process, from the dll you export a new window procedure where you can check for windows messages.

I'll see if I can find a code sample somewhere, if not I'll write one myself.

Added:
Here's one...
http://www.codeproject.com/system/Mi...ndowToTray.asp

Last edited by Lazy; 02-10-2004 at 18:15..
  
Reply With Quote