Export (0) Print
Expand All

FlashWindowEx function

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 XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Winuser.h (include Windows.h)

Library

User32.lib

DLL

User32.dll

See also

Error Handling Functions
FLASHWINFO
Notifying the User

 

 

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft