UtilUIAutomationFlashWindow(IntPtr, FlashWindowFlags, UInt32, UInt32) Method

Flashes a Window and/or it's button in the TaskBar.

It does not change the active state of the window.

Definition

Namespace: DevCase.Core.Diagnostics.Processes
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static bool FlashWindow(
	IntPtr hWnd,
	FlashWindowFlags flashFlags,
	uint flashCount = 4294967295,
	uint flashDelay = 0
)

Parameters

hWnd  IntPtr
A handle to the window to flash.
flashFlags  FlashWindowFlags
The flash flags.
flashCount  UInt32  (Optional)
The number of times to flash the window.
flashDelay  UInt32  (Optional)
The rate at which the window is to be flashed, in milliseconds.

If flashDelay is zero, the function uses the default cursor blink rate.

Return Value

Boolean
The return value specifies the window's state before the call to the FlashWindowEx(FlashWindowInfo) function.

If the window caption was drawn as active before the call, the return value is nonzero. Otherwise, the return value is zero.

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

See Also