TaskbarFlasher ClassCleanCode C# Libraries v1.2.03 API
Support for flashing the taskbar icon to get the user's attention.
Inheritance Hierarchy

OnlineSystem Object
  CleanCode.Forms TaskbarFlasher

Namespace: CleanCode.Forms
Assembly: CleanCode (in CleanCode.dll) Version: 1.2.3.0 (1.2.03)
Syntax

public static class TaskbarFlasher
Remarks

This class provides access to the Windows API for flashing the program's icon on the task bar if the application window does not have focus. To use, simply pass your applications's OnlineForm to FlashWindow(Form), as in:
TaskbarFlasher.FlashWindow(this);
Note that a call to this does not repeatedly blink--it merely flashes once (i.e. highlights the taskbar icon) which remains "lit" until the user gives it focus. For more details, see Online Get Current Window Handle and Caption With Windows API In C#.

Since CleanCode 0.9.07.

See Also