How to make a WPF Window to blink on the taskbar?
A given moment my WPF app needs user attention. I know it is possible to make the Windows 7 taskbar icon to flash with a yellow color. I tried so far: Window.Activate Attempts to bring the window to the foreground and activates it. Window.Focus Attempts to set focus to this element. Any suggestions? Here's one possible solution: http://www.jarloo.com/flashing-a-wpf-window/ In the code sample, two extensions methods are created for the Window class: FlashWindow and StopFlashingWindow: private const UInt32 FLASHW_STOP = 0; //Stop flashing. The system restores the window to its original state.