/// <summary> /// Stops flashing the window. /// </summary> private void StopFlash() { Win32.FLASHWINFO fi = Win32.CreateFlashWInfo(this.Handle, Win32.FLASHW_STOP, uint.MaxValue, 0); Win32.FlashWindowEx(ref fi); }
/// <summary> /// This method flashes the window 3 times. /// </summary> public virtual void FlashWindow() { Win32.FLASHWINFO fi = Win32.CreateFlashWInfo(this.Handle, Win32.FLASHW_ALL, 3, 0); Win32.FlashWindowEx(ref fi); }