Results 1 to 3 of 3

Thread: Positioning the mouse

  1. #1
    Junior Member Newbie
    Join Date
    Feb 2001
    Posts
    5

    Positioning the mouse

    Is there an easy way to position the mouse.
    Lets say that I want to position it in my program at pixel coordinate 0,0 or something.

    Steve

  2. #2

    Re: Positioning the mouse

    could you be a little more specific? what window system are you using? win32? macos? x? or are you using glut?

  3. #3
    Junior Member Newbie
    Join Date
    Nov 2000
    Posts
    15

    Re: Positioning the mouse

    For windows just use:
    SetCursorPos(0,0);

    But you'll have to look in the glut docs if your using glut. Sorry, I always tend to do things the hard way.

    wire

Similar Threads

  1. Relative Positioning
    By JohnBauer in forum OpenGL: GLSL
    Replies: 3
    Last Post: 05-30-2013, 05:24 PM
  2. positioning a cylinder in 3d
    By somnath in forum OpenGL: Basic Coding
    Replies: 7
    Last Post: 05-03-2011, 04:01 PM
  3. Near and far plane positioning
    By devdept in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 12-02-2009, 01:23 AM
  4. Text positioning
    By weebull in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 03-20-2003, 05:55 PM
  5. Light Positioning
    By MrShoe in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 10-27-2001, 02:37 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean