CTabCtrl::GetCurSel

int GetCurSel( ) const;

Return Value

Zero-based index of the selected tab if successful or  – 1 if no tab is selected.

Remarks

Call this function to retrieve the currently selected tab in a tab control.

CTabCtrl OverviewClass MembersHierarchy Chart

See Also   CTabCtrl::SetCurSel, CTabCtrl::GetCurFocus