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:
Scott's example is much simpler... thank you Scott!
https://scottstoecker.wordpress.com/2010/10/08/creating-a-flashing-taskbar-icon-using-flashwindow-with-xaml/
using System.Windows.Interop;
using System.Runtime.InteropServices;
[DllImport("user32")] public static extern int FlashWindow(IntPtr hwnd, bool bInvert);
WindowInteropHelper wih = new WindowInteropHelper(ThisWindow);
FlashWindow(wih.Handle, true);