ITaskbarList interface (shobjidl_core.h)

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


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


The ITaskbarList interface has these methods.


Activates an item on the taskbar. The window is not actually activated; the window's item on the taskbar is merely displayed as active.

Adds an item to the taskbar.

Deletes an item from the taskbar.

Initializes the taskbar list object. This method must be called before any other ITaskbarList methods can be called.

Marks a taskbar item as active but does not visually activate it.


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.


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)