ITaskbarList interface

Exposes methods that control the taskbar. It allows you to dynamically add, remove, and activate items on the taskbar.

Methods

The ITaskbarList interface has these methods.

Method Description
ITaskbarList::ActivateTab Activates an item on the taskbar. The window is not actually activated; the window's item on the taskbar is merely displayed as active.
ITaskbarList::AddTab Adds an item to the taskbar.
ITaskbarList::DeleteTab Deletes an item from the taskbar.
ITaskbarList::HrInit Initializes the taskbar list object. This method must be called before any other ITaskbarList methods can be called.
ITaskbarList::SetActiveAlt Marks a taskbar item as active but does not visually activate it.

Remarks

You do not implement ITaskbarList; it is implemented by the Shell.

Use ITaskbarList to add items to the taskbar, remove items from the taskbar, and activate items on the taskbar.

See Modifying Contents of the Taskbar for more information about using this interface.

Requirements

   
Windows version Windows 2000 Professional, Windows XP [desktop apps only] Windows 2000 Server [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)