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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mouse Pointer

Status
Not open for further replies.

Cndn

Programmer
Nov 22, 2001
22
CA
Does anyone know if there is a way to move the mouse pointer around the screen?
Ex. shape1.left = "mouse pointer".left, shape1.top = "mouse pointer".top?

Thanks
 
If your intention is to position the mouse at a specific location, then you can use the SetCursorPos API call.


Public Declare Function SetCursorPos Lib "user32" _
(ByVal X As Long, ByVal y As Long) As Long


SetCursorPos pLng_CursorLeft, pLng_CursorTop
Good Luck
------------
Select * from Users where Clue > 0
0 rows returned
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top