| Flashing a window means changing the appearance of its caption bar as if the window were changing from inactive to active status, or vice versa.
Typically, a window is flashed to inform the user that the window requires attention but that it does not currently have the keyboard focus.
The FlashWindow API function flashes the window only once.
To create a flashing window add a TTimer component on a form, and use the following code in the OnTimer event handler: procedure TForm1.Timer1Timer(Sender: TObject) ;
begin
FlashWindow (Handle, True) ;
end; |