Binarysharp.MemoryManagement.Windows.WindowCore.FlashWindowEx C# (CSharp) Method

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
        public static void FlashWindowEx(IntPtr windowHandle, FlashWindowFlags flags)
        {
            FlashWindowEx(windowHandle, flags, 0);
        }

Same methods

WindowCore::FlashWindowEx ( IntPtr windowHandle, FlashWindowFlags flags, uint count ) : void
WindowCore::FlashWindowEx ( IntPtr windowHandle, FlashWindowFlags flags, uint count, System.TimeSpan timeout ) : void

Usage Example

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);
 }