SECTabWndBase::GetTabInfo

BOOLSECTabWndBase::GetTabInfo(intnIndex, LPCTSTR&lpszLabel, BOOL&bSelected, CWnd*&pWnd, void*&pExtra)

The label, client window, and selection status, etc. of the tab with the given index are written to the corresponding parameters.

Defined in: tabwndb.cpp

Return Value

Nonzero if a tab exists with the specified index; otherwise 0.

Parameters

nIndex

Index of tab to retrieve info of.

lpszLabel

Contains the label shown on the specified tab after returning.

bSelected

If a tab with the specified index exists, its selection state is returned through bSelected.

pWnd

If a tab with the specified index exists, a pointer to its associated client is returned through pWnd (may be NULL).

pExtra

If a tab with the specified index exists, a pointer to user-defined data is returned in pExtra (may be NULL).

See Also

SECTabWndBase