共用方式為


CMFCRibbonPanel::GetElements

Retrieves all ribbon elements that are contained in the ribbon panel.

void GetElements(
    CArray<CMFCRibbonBaseElement*, CMFCRibbonBaseElement*>& arElements 
);

Parameters

  • [out] arElements
    An array to fill with all the ribbon elements that are contained in the ribbon panel.

Requirements

Header: afxRibbonPanel.h

See Also

Reference

CMFCRibbonPanel Class

Hierarchy Chart