Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to get mouse position on SCREEN outside the VB form

Status
Not open for further replies.

GPerk

Programmer
Jul 6, 2002
161
0
0
US
I need to be able to get the position of the mouse (or cursor) when it is outside of the program's VB form.
I have tried using Cursor.Position and display the X,Y values on the form.
But when the cursor leaves the boundaries of the Form, no values are returned.

( BTW, what is the difference between Cursor Position and Mouse.Position? )
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top