Results 1 to 2 of 2

Thread: Change pos of mouse

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2000
    Location
    Texas
    Posts
    313

    Question

    How can I change the x and y pos of the mouse?

  2. #2
    Guest
    Use the SetCursorPos Api function to change the mouse position.

    Code:
    Declare Function SetCursorPos Lib "user32" (ByVal x _
    As Long, ByVal y As Long) As Long
    
    t& = SetCursorPos(500,300)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width