ITaskbarList::AddTab
Other versions of this page are also available for the following:
8/28/2008
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
Header | shobjidl.h, shobjidl.idl |
Library | Developer Implemented |
Windows Embedded CE | Windows CE 5.0 and later |
See Also
Reference
ITaskbarList
ITaskbarList::DeleteTab
Standard Shell Interfaces