如何获得 鼠标在 程序中的坐标.不是在屏幕上的,是在程序中的.
来源:百度知道 编辑:UC知道 时间:2024/06/22 17:30:42
同题
Private Sub Picture1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Print "坐标为(" & (X + .Left) \ Screen.TwipsPerPixelX & "," & (Y + .Top) \ Screen.TwipsPerPixelY & ")"
End Sub
VB版的 参考一下