What I am currently trying to do is have the user press a button, upon pressing that button, the cursor turns into a crosshair. Wherever the user clicks next is the point recorded in the code. Any help is appreciated.
Rustatic
0
Newbie Poster
Recommended Answers
Jump to PostHi Rustatic. The .NET Framework doesn't allow you to do it directly, but you can add an 'Hook' using User32.dll.
Here are some resources that should walk you trought it:
http://support.microsoft.com/en-us/kb/319524
https://sim0n.wordpress.com/2009/03/28/vbnet-mouse-hook-class/
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.