共用方式為


CMFCRibbonBar::GetCategoryCount

Retrieves the number of ribbon categories in the ribbon bar.

int GetCategoryCount() const;

Return Value

The number of the ribbon categories in the ribbon bar.

Requirements

Header: afxribbonbar.h

See Also

Reference

CMFCRibbonBar Class

Hierarchy Chart