View Full Version : How do you get the mouse cursor to disappear?
Is that possible in the first place?
What I'm trying to do is to do the "view" of a FPS game player, where moving the mouse up will move his view up, if he moves forward, the camera moves forward.
Thanks in Advance
04-05-2001, 10:50 AM
For Win32: use ShowCursor(..) API.
For glut: glutSetCursor(GLUT_CURSOR_NONE);
04-05-2001, 02:48 PM
in sdl its...
For X: XDefineCursor(disp, w, None);
(I think.... you may want to double check)
Any other ways of hiding a cursor out there? http://www.opengl.org/discussion_boards/ubb/smile.gif
04-06-2001, 12:56 AM
Yeah http://www.opengl.org/discussion_boards/ubb/smile.gif Win32 API WNDCLASSEX: LoadCursor with a fully transparent resource bitmap.
04-06-2001, 08:44 AM
For Macintosh I do believe that it's HideCursor();
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.