I've been banging on this for a while now.
Thanks for the input Agarici.
However, simply placing the hook inside a dll won't solve my problem, as the form ultimately ends up being the owner of the thread.
So again, I'm left with a thread-based hook.
Anyone else have any suggestions? I can't find anything concrete on the web. There has to be something; I'm just missing it.
Thanks,
seeflat
Main Topics
Browse All Topics





by: AgariciPosted on 2004-03-04 at 07:36:55ID: 10514776
you can implement a system message hook and search for WM_SYSCOMMAND/SC_SCREENSAV E
library/de fault.asp? url=/libra ry/ en-us/d nwui/html/ msdn_hooks 32.asp msdnmag/is sues/02/10 /cuttinged ge/ default .aspx
unfortunately installing a system wide hook requires the hook procedure to be in a dll
look for Win32 Hooks in msdn library or do a search on google
see:
http://msdn.microsoft.com/
and
http://msdn.microsoft.com/
hth.
A.