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
