Jump to content

  • Log In with Google      Sign In   
  • Create Account

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


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 ZBethel   Members   -  Reputation: 603

Like
0Likes
Like

Posted 22 July 2012 - 01:17 PM

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, 22 July 2012 - 01:18 PM.


Sponsor:

#2 mark ds   Members   -  Reputation: 1480

Like
0Likes
Like

Posted 22 July 2012 - 06:24 PM

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).

#3 ZBethel   Members   -  Reputation: 603

Like
0Likes
Like

Posted 22 July 2012 - 10:15 PM

Yeah, coming from DirectX 9.0 and Windows XP, I'm pretty sure ALT-TAB would always minimize a fullscreen application no matter what. The behavior I described seems normal, and I've reproduced it on other games.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS