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, 09:50 AM
For Win32: use ShowCursor(..) API.
For glut: glutSetCursor(GLUT_CURSOR_NONE);
04-05-2001, 01: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-05-2001, 11:56 PM
Yeah http://www.opengl.org/discussion_boards/ubb/smile.gif Win32 API WNDCLASSEX: LoadCursor with a fully transparent resource bitmap.
04-06-2001, 07:44 AM
For Macintosh I do believe that it's HideCursor();
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.