共用方式為


CMFCRibbonPanel::Add

Appends the specified ribbon element to the array of ribbon elements that is contained in the ribbon panel.

virtual void Add(
    CMFCRibbonBaseElement* pElem 
);

Parameters

  • [in, out] pElem
    Pointer to a ribbon element.

Requirements

Header: afxRibbonPanel.h

See Also

Reference

CMFCRibbonPanel Class

Hierarchy Chart