ITaskbarList::SetActiveAltITaskbarList::SetActiveAlt*
*Contents  *Index  *Topic Contents
*Previous Topic: ITaskbarList::HrInit
*Next Topic: IURLSearchHook

ITaskbarList::SetActiveAlt


HRESULT SetActiveAlt(
    HWND hwnd
);

Marks a taskbar item as active but does not visually activate it.

hwnd
Handle to the window to be marked as active.

SetActiveAlt marks the item associated with hwnd as the currently active item for the window's process without changing the pressed state of any item. Any user action that would activate a different tab in that process will activate the tab associated with hwnd instead. The active state of the window's item is not guaranteed to be preserved when the process associated with hwnd is not active. To ensure that a given tab is always active, call SetActiveAlt whenever any of your windows are activated. Calling SetActiveAlt with a NULL hwnd clears this state.

Version 4.71


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.