Compartilhar via


ITaskbarList::AddTab (Windows CE 5.0)

Send Feedback

This method adds an item to the taskbar.

Syntax

HRESULT AddTab(  HWND hwnd);

Parameters

  • hwnd
    Handle to the window to be added to the taskbar.

Return Value

Returns NOERROR if successful, or an OLE-defined error code otherwise.

Remarks

Any type of window can be added to the taskbar, but it is recommended that the window have at least the WS_CAPTION style.

Any window added with this method must be removed with the DeleteTab method when the added window is destroyed.

Requirements

OS Versions: Windows CE 5.0 and later.
Header: Shobjidl.h, Shobjidl.idl.
Link Library: Implementation dependent.

See Also

ITaskBarList | DeleteTab | Standard Shell Interfaces

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.