Does anybody know how to change the mouse cursor image depending on the location on the screen? I am developing a 3D modeller using C++ and OpenGL and dont really want to touch windows programming if i can help it.
I want to use the same trick as 3D Studio MAX and have a mouse cursor for rotation, translation etc…
If you are using GLUT, then you can use glutSetCursor. There is a selection of about 12 diffrent cursors to choose from.
Originally posted by Gobbo:
[b]Does anybody know how to change the mouse cursor image depending on the location on the screen? I am developing a 3D modeller using C++ and OpenGL and dont really want to touch windows programming if i can help it.
I want to use the same trick as 3D Studio MAX and have a mouse cursor for rotation, translation etc…[/b]
I don’t think you can change the glut cursors, but away around would be to make you own cursors by maping them to a quad, and have the quad follow the mouse.
Originally posted by Gobbo: Dont suppose you know how to define your own cursors at all do you?