FLASHWINFO structure
See also: FlashWindowEx function
Return to Introduction 
The FLASHWINFO structure contains the flash status for a window and the number of times the system should flash the window.

Declaration
type  
  FLASHWINFO = record  
    cbSize: UINT;  
    hwnd: HWND;  
    dwFlags: DWORD;  
    uCount: UINT;  
    dwTimeout: DWORD;  
   end;  
 
  TFlashWInfo = FLASHWINFO;  

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.  
FlagMeaning  
FLASHW_STOPStop flashing. The system restores the window to its original state.  
FLASHW_CAPTIONFlash the window caption.  
FLASHW_TRAYFlash the taskbar button.  
FLASHW_ALLFlash both the window caption and taskbar button. This is equivalent to setting the FLASHW_CAPTION | FLASHW_TRAY flags.  
FLASHW_TIMERFlash continuously, until the FLASHW_STOP flag is set.  
FLASHW_TIMERNOFGFlash 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 or later.  
Windows 95/98: Requires Windows 98 or later.  

See Also
FlashWindowEx function and its usage example.