[DllImport("user32.dll")]
static extern bool FlashWindow(IntPtr hwnd, bool bInvert);
<DllImport("user32.dll")> _
Private Shared Function FlashWindow(hwnd As IntPtr, bInvert As Boolean) As Boolean
End Function
[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);
}