SECTabWndBase::ActivateTab

The tab at the specified index is activated and scrolled into view. The active tab is the tab appearing on top of all other tabs (including selected tabs). There can be at most one active tab at any given moment. On the other hand, any number of tabs can be concurrently selected.

Defined in: tabwndb.cpp

Syntax

ActivateTab(CWnd* pWnd, int nIndex)

ActivateTab(CWnd* pWnd)

ActivateTab(int nIndex)

Return Value

returns TRUE if tab activate, FALSE is failure or non-existant tab

Parameters

pWnd

Window to activate.

nIndex

Index of the tab to activate.

See Also

GetActiveTab

GetTabinfo

SECTabWndBase