共用方式為


CTabCtrl::GetCurFocus

Retrieves the index of the tab with the current focus.

int GetCurFocus( ) const;

Return Value

The zero-based index of the tab with the current focus.

Requirements

Header: afxcmn.h

See Also

Concepts

CTabCtrl Class

CTabCtrl Members

Hierarchy Chart

CTabCtrl::GetCurSel