» Help

How to flash the taskbar


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.

Author: Unknown
Added: 2007-06-02
Last updated: 2007-06-02

« Return to contents »