Flashes the specified window. It does not change the active state of the window.
Syntax
BOOL WINAPI FlashWindowEx(
__in PFLASHWINFO pfwi
);
Parameters
- pfwi [in]
-
A pointer to a
FLASHWINFO structure.
Return Value
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.
Remarks
Typically, you flash a window to inform the user that the window requires attention but does not currently have the keyboard focus. When a window flashes, it appears to change from inactive to active status. An inactive caption bar changes to an active caption bar; an active caption bar changes to an inactive caption bar.
Requirements
| Minimum supported client | Windows 2000 Professional |
| Minimum supported server | Windows 2000 Server |
| Header | Winuser.h (include Windows.h) |
| Library | User32.lib |
| DLL | User32.dll |
See Also
- Error Handling Functions
- FLASHWINFO
- Notifying the User
Send comments about this topic to Microsoft
Build date: 1/22/2010