Windows Vista Sidebar displays on top of a fullscreen TGB App.
by Nicolas Olhaberry · in Torque Game Builder · 04/04/2008 (1:53 pm) · 2 replies
Hello guys,
We finished a game a few months ago using TGB v1.1.3. We had our fair share of problems already to get it to work with Windows Vista but now a new bug has surfaced that we need to fix in order to have the game approved on certain portals.
The problem is this: when you have the Windows Vista Sidebar with the "Keep the sidebar on top of other Windows" options checked, the sidebar displays on top of the game even when the game is in fullscreen mode. As far as I know, this doesn't happen to everybody, but it is happening on a significative number of computers.
I am switching the game to fullscreen mode using the following code:
setScreenMode(800, 600, $gScreenDepth, %this.mFullScreen);
The variable %this.mFullScreen is set to true and I load $gScreenDepth at the begging of the game with the following line:
$gScreenDepth = getWord(getRes(), 2);
If anybody has experienced this before and knows how to fix it, or at least has some idea on which way to go, please let me know. Porting the game to a newer TGB is not a possibility at this point either.
Thanks in advance,
Nicolas.
We finished a game a few months ago using TGB v1.1.3. We had our fair share of problems already to get it to work with Windows Vista but now a new bug has surfaced that we need to fix in order to have the game approved on certain portals.
The problem is this: when you have the Windows Vista Sidebar with the "Keep the sidebar on top of other Windows" options checked, the sidebar displays on top of the game even when the game is in fullscreen mode. As far as I know, this doesn't happen to everybody, but it is happening on a significative number of computers.
I am switching the game to fullscreen mode using the following code:
setScreenMode(800, 600, $gScreenDepth, %this.mFullScreen);
The variable %this.mFullScreen is set to true and I load $gScreenDepth at the begging of the game with the following line:
$gScreenDepth = getWord(getRes(), 2);
If anybody has experienced this before and knows how to fix it, or at least has some idea on which way to go, please let me know. Porting the game to a newer TGB is not a possibility at this point either.
Thanks in advance,
Nicolas.
Torque Owner Martin Andresen
Default Studio Name
In TGB 1.7 - 1.7.4 however, the sidebar is no longer overlapping the TGB window, but the fullscreen window is placed left of the sidebar, and still only when using OpenGL. DirectX is fine.
Any help would be appreciated!