Sign in to follow this  
_necrophilissimo_

Window message handler message for ALT(/Win)+TAB?

Recommended Posts

Just wondering is there specific window message handler message for CTRL+TAB (and/or Win+TAB of Vista) - or is it just combination WM_SETFOCUS etc.? Edit: Darn this temporary lobotomy - I mean ALT tab, naturally :| [Edited by - _necrophilissimo_ on May 2, 2007 2:06:44 PM]

Share this post


Link to post
Share on other sites
Endurion    5411
There is no direct way to detect it. WM_ACTIVATE / WM_ACTIVATEAPP are the best bets if you need a handler for the case when it happens.

In any case, do NOT try to stop Alt-Tabbing.

Share this post


Link to post
Share on other sites
Thanks, I'll look in to it.

Quote:
Original post by Endurion
In any case, do NOT try to stop Alt-Tabbing.


That wasn't my intention, I'm just having small issue with ShowCursor + ALT-TABbing + Vista (the darn cursor re-appears after ALT-TABbing and I have to re-hide it when the game window is in focus).

By the way; Why aren't most commercial games supporting ALT-TABbing? Not that it's hard to implement or anything - heck, multithreading beats that 1000:1.

Share this post


Link to post
Share on other sites

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