CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Guest

    How to move mouse cursor?

    Hello:
    How can I move other application's mouse cursor(e.g.Netscape) in my program?

    Welcome any advice or sample!
    Thanks in advance!







  2. #2
    Join Date
    Jun 1999
    Location
    Germany
    Posts
    343

    Re: How to move mouse cursor?

    Hi,

    there are 2 global functions:

    POINT pt;
    pt.x=pt.y=0;
    GetCursorPos(&pt);
    SetCursorPos(pt.x+10,pt.y+10);







    Gerd

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