• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 240
  • Last Modified:

How to know if an app is active ?

Hi, I have a popup window and I want it to be hidden when the app is not the active one.

How can i do that ?
Is there an event when the parent of a window loses the focus (or get inactive) ?

1 Solution
WM_ACTIVEAPP: with 1-st parameter fActive = FALSE
See more detailed Windows Doc
phwAuthor Commented:
Thank you! it works perfectly well ...

I didn't know I could use this event in a sub-sub-window of the main win of the app ...
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now