FlashWindowEx() public static method

Flashes the specified window. It does not change the active state of the window. The function uses the default cursor blink rate.
public static FlashWindowEx ( IntPtr windowHandle, FlashWindowFlags flags ) : void
windowHandle System.IntPtr A handle to the window to be flashed. The window can be either opened or minimized.
flags FlashWindowFlags The flash status.
return void
Beispiel #1
0
 /// <summary>
 /// Flashes the window. It does not change the active state of the window.
 /// </summary>
 /// <param name="count">The number of times to flash the window.</param>
 /// <param name="timeout">The rate at which the window is to be flashed.</param>
 /// <param name="flags">The flash status.</param>
 public void Flash(uint count, TimeSpan timeout, FlashWindowFlags flags = FlashWindowFlags.All)
 {
     WindowCore.FlashWindowEx(Handle, flags, count, timeout);
 }