Advertisement Jump to content
Sign in to follow this  
BornToCode

DX11 DX11 Fullscreen.

This topic is 1838 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 can go to fullscreen fine. But whenever i press the window key on the keyboard or click on another window in a different monitor. It drops out of fullscreen and goes into window mode. Is there anyway i can force it to stay in fullscreen mode no matter what.

 

Thanks.

Share this post


Link to post
Share on other sites
Advertisement

I would start looking at your windows message handler to see if you're getting WM_ACTIVATE or WM_SIZE events and possibly doing the full-screen switch yourself in error.

Share this post


Link to post
Share on other sites

Yes, try to do that, and when you get the message, check if your application was activated and call the method IDXGISwapChain::SetFullscreenState with parameter Fullscreen set to TRUE. That should work :)

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!