共用方式為


CMFCRibbonCategory::GetParentMenuBar

Returns a pointer to the parent menu bar of the CMFCRibbonCategory object.

CMFCRibbonPanelMenuBar* GetParentMenuBar() const;

Return Value

Returns the contents of the m_pParentMenuBar protected member.

Requirements

Header: afxribboncategory.h

See Also

Reference

CMFCRibbonCategory Class

Hierarchy Chart