共用方式為


CMFCRibbonBar::GetMainCategory

Retrieves a pointer to the main ribbon category.

CMFCRibbonCategory* GetMainCategory() const;

Return Value

A pointer to the main ribbon category.

Remarks

The main ribbon category contains the main ribbon panel.

Requirements

Header: afxribbonbar.h

See Also

Reference

CMFCRibbonBar Class

Hierarchy Chart