次の方法で共有


ITaskbarList::ActivateTab (Compact 2013)

3/28/2014

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

See Also

Reference

ITaskbarList
Shell Interfaces