CTabCtrl::GetCurSel
Retrieves the currently selected tab in a tab control.
int GetCurSel( ) const;
Return Value
Zero-based index of the selected tab if successful or – 1 if no tab is selected.
Requirements
Header: afxcmn.h
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Retrieves the currently selected tab in a tab control.
int GetCurSel( ) const;
Zero-based index of the selected tab if successful or – 1 if no tab is selected.
Header: afxcmn.h