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

Thread: mouse position

  1. #1
    Join Date
    Apr 1999
    Posts
    4

    mouse position

    is there any posibility of setting the mouse to a some place on the screen or to get rid of the limitations of the window because i want to use my mouse in a fullscreen window for turning
    like you can do in quake or unreal but i can only turn a sertain amount my mouse is set at a max of 640*480 so when my mouse pos is 0 or 640 i cannot turn any further
    does anyone know how to do this?


  2. #2
    Join Date
    Jan 2002
    Location
    Scaro, UK
    Posts
    5,940

    Re: mouse position

    Try

    ::GetPointerPos - to get mouse position
    ::SetPointerPos - to set it.

    Easy as that !

    Darwen.


    www.pinvoker.com - PInvoker - the .NET PInvoke Interface Exporter for C++ Dlls.

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