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;
~~~~~~~~~~~~~~~~~~~~~~~~~
Delphi tips navigator:
» Open & Close CD-drive from code
« Date/Time and other International settings

