RE: [GD-Windows] windows message on ALT-TAB
Brought to you by:
vexxed72
From: Andrew G. <ag...@cl...> - 2003-06-10 00:19:17
|
WM_ACTIVATEAPP/WM_ACTIVATE ? I'm not sure if you're just looking to see if something else is about to become the topmost window, in which case WM_ACTIVATEAPP is all you need, or if you specifically want to know if your window was minimised by an alt+tab keypress. If the later, out of curioisty, is there a reason you're interested in how it was deactivated? Unfortunately although there's a way to tell how a window was activated (e.g by mouse, keyboard, or SetActiveWindow) there's no way to tell how one is being deactivated unless you monitor keypresses before hand as you suggest. Also even though in WinMe/2K and higher SetForegroundWindow doesn't generally allow windows of a different thread to bring themselves to the top, there's still ways your applicaton can unexpectedly find itself becoming deacticated without any user input. Andy @ Climax Brighton > -----Original Message----- > From: Daniel Vogel [mailto:vo...@ep...] > Sent: Monday, June 09, 2003 4:59 PM > To: gam...@li... > Subject: [GD-Windows] windows message on ALT-TAB > > > Is there a windows message I get when a user ALT-TAB's out of > my fullscreen > application? I get a WM_SYSCOMMAND/ SC_KEYMENU but was hoping > for a more > general "you just got minimized because someone ALT-TAB'ed away/ ..." > message without having to manually check for the ALT-TAB combo. > > Thanks, > > -- Daniel, Epic Games Inc. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of > TotalView, The best > thread debugger on the planet. Designed with thread debugging features > you've never dreamed of, try TotalView 6 free at www.etnus.com. > _______________________________________________ > Gamedevlists-windows mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_id=555 > |