Public Function SetCursorP(X, Y)
SetCursorPos X, Y
End Function
Public Function GetCursorX()
Dim dl&
dl& = GetCursorPos(pt)
GetCursorX = pt.X
End Function
Public Function GetCursorY()
Dim dl&
dl& = GetCursorPos(pt)
GetCursorY = pt.Y
End Function
Note: Add APIs from API Viewer...
Get/ Set Cursor Pos VB6 Code
Code:
0 comments:
Post a Comment