Detect Running Fullscreen App
Posted on 2006-05-10
Good day Experts,
I have an application that runs in the background with an icon in the system tray. When an event occurs, this application spawns a pop-up window created with the TOPMOST flag. The problem is that since my window is designed to always be on top until the user interacts with it, it interferes with fullscreen applications.
What I need to do is detect if a fullscreen application is currently active so I can supress the pop-up. As well, it would be benificial to detect when there are no longer any fullscreen apps running so that the pop-up can relay it's information at that time. But the most important thing is to not show the pop-up when a fullscreen app is running. A fullscreen app must be things like a powerpoint presentation as well as any fullscreen game or perhaps a command prompt is being run fullscreen.
Any assistance is appreciated, Thank you for your time.