Archived

This topic is now archived and is closed to further replies.

Glut and taskbar hidding and custom cursors

This topic is 5009 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''m having a problem with glut and fullscreen mode. Problem is that the task bar keeps appearing. Is there a command call nessary to hide the taskbar? Also, I was looking at the setcursor command and I can''t seem to find a way to specifiy a custom cursour to use. If I have my own versions of the standard cursors in the program directory will they replace the windows standard ones? ----------------------------------------------------- Writer, Programer, Cook, I''m a Jack of all Trades Current Design project: Ambitions Slave

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
The best way to hide the task bar using GLUT is to use the game mode (glutEnterGameMode). This function allows you to choose the resolution and bits per pixel of the screen. You''ll have to write this:

glutGameModeString("800x600:32";
glutEnterGameMode();

Once finished you can restore the previous video mode with:

glutLeaveGameMode();

You can also use glutFullScreen() instead of using game mode, but you will better performance in game mode due to Windows priority reasons.

I hope you find it useful.

Share this post


Link to post
Share on other sites