Jump to content
  • Advertisement
Sign in to follow this  
eq

"Fake" fullscreen applications.

This topic is 4866 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've seen this options in some (minor) games, screen savers and demos. It seems like they create a window that covers the entire screen (even the taskbar). How is this done? I need to quickly be able to swap between my "fullscreen" d3d application and other desktop applications, without the hazzle (time) of restoring lost resources and doing display changes. Anyone got some info on this? BTW, I haven't looked to hard at the class and window creation flags, so if this is just a RTFM question, I'm sorry. I did spend some time on google without finding anything interesting.

Share this post


Link to post
Share on other sites
Advertisement
Create a WM_POPUP style window with the size of current screen resolution. You can acquire the resolution with GetSystemMetrics using SM_CXFULLSCREEN and SM_CYFULLSCREEN parameters.

Share this post


Link to post
Share on other sites
Sounds simple enough :)
Guess I should have played around a bit before asking then..

Share this post


Link to post
Share on other sites
Works ok, had to use SM_CXSCREEN and SM_CYSCREEN (got some strange height from SM_CYFULLSCREEN).

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!