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

For Win32: use ShowCursor(…) API.

For glut: glutSetCursor(GLUT_CURSOR_NONE);

in sdl its…

SDL_ShowCursor(SDL_DISABLE);

For X: XDefineCursor(disp, w, None);

(I think… you may want to double check)

Any other ways of hiding a cursor out there?

Yeah Win32 API WNDCLASSEX: LoadCursor with a fully transparent resource bitmap.

For Macintosh I do believe that it’s HideCursor();

–Kainsin