[GD-Windows] Going fullscreen
Brought to you by:
vexxed72
From: Eero P. <epa...@ko...> - 2004-02-01 15:33:39
|
I am setting up my program using the freeglut library, but I have one problem. My program starts up in a fullscreen window using the (free)glut gamemode. The problem is: sometimes the Windows (XP) system/menu/status bar at the bottom of the screen stays on top of my fullscreen window. In addition to the visible problem, this causes problem for my sound system, as apparently requires that my window must be the one "with focus". (If there are other windows on screen, they will also be on top of my gamemode window, when the problem happens) The freeglut library seems to enter gamemode, by first setting the requested display parameters, and then creating the new window using the following flags: flags = WS_POPUP | WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_VISIBLE; I am currently using Nvidia display cards, and my desktop and fullscreen window is 2048x768 pixels, spanning both of the video outputs of the card. Any ideas on how to make freeglut behave more reliably? Alternatively, is there a function which I could call to force my window to be on top of the window stack? Eero |