How can I (if possible) monitor ALL windows messages? Not just the messages sent to a certain window/control.
Basically I want to monitor ALL keyboard usage.
I Managed to do this for a window/control using
lpPrevWndProc = SetWindowLong(gHW, GWL_WNDPROC, _
with gHW= the handle to the window/control
WindowProc is my new Message Handler Procedure.