Alt+Tab in fullscreen with no other apps running

"Oscar Cooper" <[email protected]> Tue, 4 Sep 2007 16:05:29 +0100
Newsgroups gmane.games.devel.windows
Message-ID <[email protected]>
Hi,

Does anyone know if there's something I have to do (or avoid doing) to make 
my game minimise when the player hits Alt+Tab whilst running in fullscreen 
with no other apps running?

My game isn't minimising in pre-Vista versions of Windows, but other games 
seem to do so. Windows isn't sending me any WM_ACTIVATE or WM_ACTIVATEAPP 
messages. I am getting WM_NCACTIVATE and WM_CANCELMODE, and I'm passing 
these on to the default WndProc expecting it to handle any necessary 
plumbing.

With other apps running the Alt+Tab behaviour is correct in fullscreen, but 
in this case Windows is sending me a completely different sequence of 
messages.

Thanks in advance,

Oscar Cooper
Lead Programmer
Frontier Developments Ltd



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Gamedevlists-windows mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows
Archives:
http://sourceforge.net/mailarchive/forum.php?forum_id=555