1,486
社区成员
发帖
与我相关
我的任务
分享
Private Declare Function GetCursorPos Lib "user32" (lpPoint As POINTAPI) As Long
Private Type POINTAPI
x As Long
y As Long
End Type
Private Sub Timer1_Timer()
Dim lpPonit As POINTAPI
GetCursorPos lpPonit
print lpPoint.x
End Sub