Window message handler message for ALT(/Win)+TAB?
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]
That would fall under the WM_SYSCOMMAND message with the wparams of SC_NEXTWINDOW and SC_PREVWINDOW.
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.
In any case, do NOT try to stop Alt-Tabbing.
Thanks, I'll look in to it.
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.
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.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement