If I want to move the mouse cursor to position (x,y) on the screen with VB, How can I do that?
Printable View
If I want to move the mouse cursor to position (x,y) on the screen with VB, How can I do that?
Have a look at this thread, it may help:
http://www.vbforums.com/showthread.p...hreadid=204156
OK , I read it already but I'm don't clear about Moving Method.
If it has some example only about moving method.
VB Code:
Private Declare Function SetCursorPos Lib "user32" (ByVal x As Long, _ ByVal y As Long) _ As Long Private Sub Command1_Click() Call SetCursorPos(10, 10) End Sub