Jump to content
  • Advertisement
Sign in to follow this  
themean

From full screen to window mode

This topic is 2505 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

How i can back to window mode with ChangeDisplaySettings
for full screen i use CDS_FULLSCREEN
but cant find enum for window mode

Share this post


Link to post
Share on other sites
Advertisement
As per the documentation
[color=#000000]A pointer to a DEVMODE[color=#000000] structure that describes the new graphics mode. If lpDevMode[color=#000000] is NULL[color=#000000], all the values currently in the registry will be used for the display setting. Passing NULL[color=#000000] for the lpDevMode[color=#000000] parameter and 0 for the dwFlags[color=#000000] parameter is the easiest way to return to the default mode after a dynamic mode change.[/quote]

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!