Compartilhar via


ITaskbarList::ActivateTab

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

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

Header shobjidl.h, shobjidl.idl
Library Developer Implemented
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

ITaskbarList
Standard Shell Interfaces