Flashing the taskbar icon  

Send By: Radikal (Q3 Team)
Web : http://www.q3.nu
Email: radikal@q3.nu
Date: 23/01/00

Tip accessed 672 times

 


For this, we will use a TTimer and the FlashWindow API function:

  • Put a TTimer in your form (Timer1), with 500 ms in its interval property.
  • Put this code in its OnTimer event:

     procedure TForm1.Timer1Timer(Sender: TObject);
     begin
       FlashWindow(Application.Handle,TRUE);
     end;