This method activates an item on the taskbar. The window is not actually activated, but the window's item on the taskbar is displayed as active.
Syntax
HRESULT ActivateTab( HWND hwnd);
Parameters
- hwnd
Handle to the window on the taskbar to be displayed as active.
Return Value
Returns NOERROR if successful, or an OLE-defined error code otherwise.
Requirements
OS Versions: Windows CE 5.0 and later.
Header: Shobjidl.h, Shobjidl.idl.
Link Library: Implementation dependent.
See Also
ITaskBarList | Standard Shell Interfaces
Send Feedback on this topic to the authors