Re: Alt-Tab

new topic     » goto parent     » topic index » view thread      » older message » newer message

Liquid-Nitrogen Software wrote:

> How can i tell if a Win32 program has lost focus,
> or what ever happens when you change to a different
> program??

Win32 issues the messages WM_SETFOCUS when a window is about to get focus,
and WM_KILLFOCUS.

If you've captured the mouse, you will also get a WM_CAPTURECHANGED message
warning you that another application is about to grab the mouse away from
you. Most applications don't actually pay attention to this message,
unfortunately.

-- David Cuny

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu