Solved

capturing mouse clicks (hooking WM_LBUTTONDOWN)

Posted on 2000-05-10
2
731 Views
Last Modified: 2008-03-03
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.
0
Comment
Question by:fwyton
2 Comments
 
LVL 28

Accepted Solution

by:
AzraSound earned 100 total points
ID: 2798556
0
 

Author Comment

by:fwyton
ID: 2798749
thanks, thats just what i wanted!
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question