狗的品种大全及图片:vb移动鼠标位置
来源:百度文库 编辑:神马品牌网 时间:2024/05/12 09:14:07
VB有什么CODE可以控制鼠标的位置?
'例如:
Private Declare Function SetCursorPos Lib "user32" (ByVal x As Long, ByVal y As Long) As Long
Private Sub Command1_Click()
SetCursorPos 500, 300
End Sub
SetCursorPos(x,y)