CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 1999
    Posts
    8

    Moving the mouse pointer

    Hi, I was wondering if anyone out there knows how to change the position of the mouse pointer 'from behind the scenes'. For instance, I would ideally like a function whose prototype is as follows:

    void MoveMouse( DWORD xpos, DWORD ypos)

    Cheers,

    Jase.


  2. #2
    Join Date
    Apr 1999
    Posts
    23

    Re: Moving the mouse pointer

    Jase,

    Use the function
    BOOL SetCursorPos(int X, int Y);


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

Featured