Platform SDK: Debugging and Error Handling

FLASHWINFO

The FLASHWINFO structure contains the flash status for a window and the number of times the system should flash the window.

typedef struct {
  UINT  cbSize;
  HWND  hwnd;
  DWORD dwFlags;
  UINT  uCount;
  DWORD dwTimeout;
} FLASHWINFO, *PFLASHWINFO;

Members

cbSize
Specifies the size, in bytes, of the structure.
hwnd
Handle to the window to be flashed. The window can be either opened or minimized.
dwFlags
Specifies the flash status. This parameter can be one or more of the following flags.
Flag Meaning
FLASHW_STOP Stop flashing. The system restores the window to its original state.
FLASHW_CAPTION Flash the window caption.
FLASHW_TRAY Flash the taskbar button.
FLASHW_ALL Flash both the window caption and taskbar button. This is equivalent to setting the FLASHW_CAPTION | FLASHW_TRAY flags.
FLASHW_TIMER Flash continuously, until the FLASHW_STOP flag is set.
FLASHW_TIMERNOFG Flash continuously until the window comes to the foreground.

uCount
Specifies the number of times to flash the window.
dwTimeout
Specifies the rate, in milliseconds, at which the window will be flashed. If dwTimeout is zero, the function uses the default cursor blink rate.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 98.
  Header: Declared in Winuser.h; include Windows.h.

See Also

Error Handling Overview, Error Handling Structures, FlashWindowEx