public static void FlashWindow(IntPtr hwnd) { FLASHWINFO fw = new FLASHWINFO(); fw.cbSize = Convert.ToUInt32(Marshal.SizeOf(typeof(FLASHWINFO))); fw.hwnd = hwnd; fw.dwFlags = (Int32)(FLASHWINFOFLAGS.FLASHW_ALL | FLASHWINFOFLAGS.FLASHW_TIMERNOFG); fw.dwTimeout = 0; FlashWindowEx(ref fw); }
public static extern int FlashWindowEx(ref FLASHWINFO pfwi);