Searching...
9:48 PM

Get/ Set Cursor Pos VB6 Code

Code:


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...

0 comments:

Post a Comment

 
Back to top!