ITaskbarList3::ActivateTab Method

Activates an item on the taskbar. The window is not actually activated; the window's item on the taskbar is merely displayed as active.

Syntax

HRESULT ActivateTab(      
    HWND hwnd
);

Parameters

  • hwnd
    A handle to the window on the taskbar to be displayed as active.

Return Value

Returns S_OK if successful, or an error value otherwise.