Private Declare Function SetCursorPos Lib "user32" (ByVal X As Long, ByVal Y As Long) As Long’先声明
Private Sub Command1_Click()
Call SetCursorPos(600, 100)’将鼠标放到坐标为(600, 100)的地方
End Sub
_____________________________________________________________________________ _