--- ---

When you need the user's attention or would like to let him/her know a certain task is finished you may want to flash the taskbar, mainly when the application is not modal. Doing so is easy; here's the code:

FlashWindow(Handle, True); // The current form
FlashWindow(Application.Handle, True); // The app button on the taskbar

To flash the task bar more then once just use the above code with TTimer.