Flashes the given window.

BOOL FlashWindowEx(
   DWORD dwFlags,
   UINT uCount,
   DWORD dwTimeout


Specifies the flash status. For a complete list of values, see the FLASHWINFO structure.


Specifies the number of times to flash the window.


Specifies the rate, in milliseconds, at which the window will be flashed. If dwTimeout is zero, the function uses the default cursor blink rate.

The return value specifies the window's state before the call to the FlashWindowEx function. If the window caption was drawn as active before the call, the return value is nonzero. Otherwise, the return value is zero.

This method emulates the functionality of the function FlashWindowEx, as described in the Windows SDK.

Header: afxwin.h

Community Additions