Hi everyone,
Is there any way through a p/invoke or otherwise to detect when an
application entirely loses focus and something else pops up like let's say
you are using IE and then click start --> Contacts, the IE window is pushed
to the back.
If I were the IE program would I be able to tell when I've been pushed back
like that?
Thanks!
Peter Foot [MVP] - 28 Feb 2005 16:58 GMT
Use the Deactivate event on your form
Peter

Signature
Peter Foot
Windows Embedded MVP
www.inthehand.com | www.opennetcf.org
> Hi everyone,
>
[quoted text clipped - 9 lines]
>
> Thanks!
Reef - 28 Feb 2005 20:03 GMT
Hi Peter,
I should clarify a bit. Is there a way to know when my application loses
focus to another application. Wouldn't the deactivated event fire even when I
was switching between forms in my app?
So my question is how do I know when my app loses focus entirely instead of
just a single form? Is this possible?