Results 1 to 3 of 3

Thread: [RESOLVED] Move Mouse x and y

  1. #1

    Thread Starter
    Junior Member
    Join Date
    May 2006
    Posts
    31

    Resolved [RESOLVED] Move Mouse x and y

    Hey , how can i move the mouse x and y co ordinates via code?

    i dont mean on the form. ill have the form in the background and i can press a button and the mouse moves to a set location.

    something like screen.mouse.x = 500 screen.mouse.y = 200

    but actual code instead

  2. #2

    Thread Starter
    Junior Member
    Join Date
    May 2006
    Posts
    31

    Re: Move Mouse x and y

    nvm i found the mouse event api

    Private Declare Sub mouse_event Lib "user32" (ByVal dwFlags As Long, ByVal dx As Long, ByVal dy As Long, ByVal cButtons As Long, ByVal dwExtraInfo As Long)

  3. #3

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