共用方式為


CBaseTabbedPane::GetFirstVisibleTab

Retrieves a pointer to the first displayed tab.

virtual CWnd* GetFirstVisibleTab(
   int& iTabNum
);

Parameters

  • [in] iTabNum
    A reference to an integer. This method writes the zero-based index of the first displayed tab to this parameter, or -1 if no displayed tab is found.

Return Value

If successful, a pointer to the first displayed tab; otherwise, NULL.

Requirements

Header: afxbasetabbedpane.h

See Also

Reference

CBaseTabbedPane Class

Hierarchy Chart