private static extern short FlashWindowEx(ref FLASHWINFO pwfi);
public bool FlashWindow() { FLASHWINFO structure = new FLASHWINFO(); structure.cbSize = (ushort) Marshal.SizeOf(structure); structure.hwnd = base.Handle; structure.dwFlags = 6; structure.uCount = 0xffff; structure.dwTimeout = 0; return (FlashWindowEx(ref structure) == 0); }