FlashWindow() public static method

Flashes the specified window one time. It does not change the active state of the window. To flash the window a specified number of times, use the FlashWindowEx(IntPtr, FlashWindowFlags, uint, TimeSpan) function.
public static FlashWindow ( IntPtr windowHandle ) : bool
windowHandle System.IntPtr A handle to the window to be flashed. The window can be either open or minimized.
return bool
示例#1
0
 /// <summary>
 /// Flashes the window one time. It does not change the active state of the window.
 /// </summary>
 public void Flash()
 {
     WindowCore.FlashWindow(Handle);
 }