共用方式為


CMFCRibbonPanel::GetParentCategory

Returns the parent category of the ribbon panel.

CMFCRibbonCategory* GetParentCategory() const;

Return Value

A pointer to the ribbon category that contains this ribbon panel.

Requirements

Header: afxRibbonPanel.h

See Also

Reference

CMFCRibbonPanel Class

Hierarchy Chart