Link to home
Start Free TrialLog in
Avatar of fwyton
fwyton

asked on

capturing mouse clicks (hooking WM_LBUTTONDOWN)

I want to be able to intercept the WM_LBUTTONDOWN message before it is sent to any window, so that I can get the pixel coordinates of any mouse click on the system. Is there a way of hooking this message?

It is for the purpose of recording someones actions and then emulating them later.
ASKER CERTIFIED SOLUTION
Avatar of AzraSound
AzraSound
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of fwyton
fwyton

ASKER

thanks, thats just what i wanted!