ITaskbarList interface (shobjidl_core.h)

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

Inheritance

The ITaskbarList interface inherits from the IUnknown interface. ITaskbarList also has these types of members:

Methods

The ITaskbarList interface has these methods.

 
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

Requirement Value
Minimum supported client Windows 2000 Professional, Windows XP [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)