共用方式為


CTabCtrl::GetItemCount

Retrieves the number of tabs in the tab control.

int GetItemCount( ) const;

Return Value

Number of items in the tab control.

Example

See the example for CPropertySheet::GetTabControl.

Requirements

Header: afxcmn.h

See Also

Reference

CTabCtrl Class

Hierarchy Chart

CTabCtrl::GetItem

CTabCtrl::SetItem