I'm looking to get a desktop message as WM_LBUTTONDOWN.
I've try using hooks in this way:
As NOP-erator has advanced, the function fail. Handle of the desktop obtained with GetDesktopWindow is not correct.
every help appreciated. Thanks again.
Bye A
I've try using hooks in this way:
call GetDesktopWindow
mov DThandler,eax
call SetWindowsHookExA,\
WH_CALLWNDPROC,\ ; // type of hook to install
offset HookProc,\ ; // address of hook procedure
DThandler,\ ; // handle of application instance
0
As NOP-erator has advanced, the function fail. Handle of the desktop obtained with GetDesktopWindow is not correct.
every help appreciated. Thanks again.
Bye A