Sign in to follow this  

Unexpected behavior with ALT-TAB in Fullscreen Mode (DXGI)

This topic is 1972 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 am setting my DirectX11 application to run in fullscreen mode when I create the swap chain. This works fine until I ALT-TAB to minimize. All it does is undo the fullscreen mode and place the window in the background (i.e. not minimized, just a background window). Maximizing the window or refocusing the window doesn't cause it to switch back to fullscreen mode. Does DXGI expect me to do something that I'm not? I've read the MSDN documentation online and it doesn't explain how to handle this case.

Thanks. Edited by ZBethel

Share this post


Link to post
Share on other sites
ALT-TAB doesn't minimise anything. It simply swaps focus from one window to another.

If that other window isn't using fullscreen mode, Windows HAS to go into non-fullscreen mode - it has no choice.

When your app gets foreground status it's up to you to do whatever is necessary (ie switching back to fullscreen mode).

Share this post


Link to post
Share on other sites

This topic is 1972 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this