[SDL] Cursor disappears when moved

Mark Jenison jenison at enteract.com
Fri Oct 13 20:19:01 PDT 2006


Hi all,

After setting my video mode to full screen, my code does an
SDL_ShowCursor(SDL_DISABLE).  After the screen switches to full screen, the
mouse does not appear.  This works fine in Windows XP.

Unfortunately my target platform in a Windows 98 box.  And for some reason, when
the same program runs on that machine, after the screen switches to full screen
mode, the mouse cursor remains in the middle of the screen.  However, as soon as
the mouse is moved, it disappears.  Unfortunately, the user doesn't have access
to the mouse upon startup (only the keyboard).

Is there any trick I can use to programmatically hide the mouse cursor other
than using SDL_ShowCursor(SDL_DISABLE)?

-- 
Mark Jenison





More information about the SDL mailing list