Jump to content
  • Advertisement

Archived

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

Tronaek

WinNT Fullscreen Resolution Switching Problems

This topic is 5889 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 use CDS_FULLSCREEN to change the display settings and i change my window to a WS_EX_TOPMOST, WS_POPUP window, but for some reason my start menu bar won''t go away. Is there any way to forcibly make the start menu bar move behind the window? When I switch back into windowed-mode the start menu should stay ontop. If you know about WINNT 4.00 quirks, please help.

Share this post


Link to post
Share on other sites
Advertisement
OK, i figured it out.. when switching between the fullscreen window and a regular window, make sure you:

if (fullscreen)
SetWindowPos( HWND_TOPMOST, &rcFullPos, 0 );
else
SetWindowPos( HWND_NOTOPMOST, &rcWndPos, 0 );

after your call to ChangeDisplaySettings(...)

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!