Advertisement
Guest User

Function

a guest
Apr 1st, 2020
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.28 KB | None | 0 0
  1. Dim lpPoint As PointAPI
  2. Public Declare Function GetCursorPos Lib "user32" (ByRef lpPoint As PointAPI) As Boolean
  3. Public Declare Function SetCursorPos Lib "user32" (ByVal X As Integer, ByVal Y As Integer) As Boolean
  4.  
  5. GetCursorPos(lpPoint)
  6. SetCursorPos(lpPoint.x - 1, lpPoint.y + 4)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement