mouse stuff from a non win32 app

Started by
1 comment, last by riz 22 years, 1 month ago
Hey all, I am new to OpenGL, and sI have to work on a prog that uses C and is run as a dos program that brings up a window in Windows. Now, I got the mouse motion to be captured using glutPassiveMotionFunc(), so i am set, except that I don''t now how to hide the mouse cursor in the application... any ideas? thanks, rizwan
Advertisement
It''s in the GLUT docs : glutSetCursor( GLUT_CURSOR_NONE );
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan
thanks,
really appreciate it =)

this openGL stuff is awesome BTW

This topic is closed to new replies.

Advertisement