G'day all,

I'm not all that new to Lazarus, but I'm new to Lazarus on Win32.

I'm trying to receive WM_DEVICECHANGE events. With Delphi I can 
HookMainWindow() and filter on the 
TMessage value. I've seen in win32winapi.inc there is a 
TWinControl.DefaultHandler which looks like 
it gets the messages I want to hook.

Is there a relatively easy way to hook the event queue from a GUI application?

Regards,
Brad
-- 
"Human beings, who are almost unique in having the ability
to learn from the experience of others, are also remarkable
for their apparent disinclination to do so." -- Douglas Adams
_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to