In Windows XP, when a program wants to attract the attention of a user, it will flash orange in the taskbar. Perhaps someone with an instant messenger is familiar with this behavior. But when I play in full screen mode, I do not see this, and the messages go unanswered.
Now I am writing my own game engine, and I would like to be kind to my users. Is there any call to the Windows API, can I write a hook that will notify my program whenever any other program simply sets its taskbar button to “orange flashing mode”? That way, I could notify the user when this happens.
I would be surprised if this is not available. I saw the Mac OS Classic screen saver that was able to do this back in the mid-90s. Where I got this idea from.
EDIT: this symbol is marked as a duplicate of how-can-i-programmatically-determine-if-an-application-is-flashing-in-the-taskb , but I reopened it again because the answers are better, and to encourage more people discuss possible solutions, if any.
source share