Click here to Skip to main content
15,908,674 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
Hello guys.I am working in windows Form and need a code , which gives me on Form coordinates of Mouse Click. Click must be made outside of the Form , for example in Browser. To detect coordinates on Form is easily but I can't say the same when Click is made outside the Form. I have searched and find out that "Windows Hooks" can make them but still can't make it. Can anyone help me with that code ?

1 solution

This article would probably help you: Processing Global Mouse and Keyboard Hooks in C#[^]. Even though it has very little explanation, it looks like what you're searching for.
Share this answer
Sergey Alexandrovich Kryukov 7-Sep-15 2:05am    
Wendelius 8-Sep-15 0:26am    
Thanks SA

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