in my code i use changedislaypsetting(…) with CDS_FULLSCREEN, but my taskbar is always visible, maybe it is because i have set it to “always on top”, and “autohide”. How can i remove it, without changing the bitdepht???
Ehm, i mean Q3 (Quake III), not w3
Are you using AdjustWindowRectEx()?
WindowRect.right=(long)width; // width is the global width value of window size
WindowRect.bottom=(long)height; // height is the global height value of the window size
// now define the window style
AdjustWindowRectEx(&WindowRect,WS_POPUP, FALSE, WS_EX_APPWINDOW);
WS_POPUP tells Windows that there should be no border, and
WS_EX_APPWINDOW forces the window to top level, above the taskbar.
Oh, for future reference, this info is neatly presented on NeHe’s website: http://nehe.gamedev.net/tutorials/lesson01.asp
Tried nehes example, but the taskbar is still visible, but i try it in my own code, i hope this work …
Found the problem:
WS_POPUP | WS_CLIPCHILDREN | WS_CLIPSIBLINGS,
Only this work ( and only when WS_EX_TOPMOST is set)!!!