FlashWindow (user32)
Last changed: 131.107.174.73

.
Summary

C# Signature:

[DllImport("user32.dll")]
static extern bool FlashWindow(IntPtr hwnd, bool bInvert);

User-Defined Types:

None.

Notes:

Flashes the taskbar button of the window once to get the user's attention. This only happens if bInvert is true.

Tips & Tricks:

Please add some!

Sample Code:

    [DllImport("user32.dll")]
    private static extern bool FlashWindow(IntPtr hwnd, bool bInvert);

    public static void FlashWindow(System.Windows.Forms.Form window)
    {
        FlashWindow(window.Handle, false);
    }

Alternative Managed API:

Do you know one? Please contribute it!

Documentation
FlashWindow on MSDN