Click here to Skip to main content
15,909,953 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want a c code to detect optical mouse motion. Because i want a disable one of my program when moving optical mouse.how can i do it. Please help me....
Posted
Comments
Sandeep Mewara 1-Jul-12 8:59am    
Here is what is expected of enquirers:
1. TRY first what you want to do! You may find that it's not that hard.
2. Formulate what was done by you that looks like an issue/not working.

Try them and tell if you face issues.

1 solution

I think you need to use Windows hooking[^] and trap all mouse messages so you can react to a particular situation.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900