Freigeben über


CMFCRibbonPanel::GetElementsByID

Adds ribbon elements that have the specified command ID to the specified array.

void GetElementsByID(
   UINT uiCmdID,
   CArray<CMFCRibbonBaseElement*, CMFCRibbonBaseElement*>& arElements
);

Parameters

  • [in] uiCmdID
    Command ID for a ribbon element.

  • [in] arElements
    Array of ribbon elements.

Remarks

Only ribbon elements that are contained in the ribbon panel are tested.

Requirements

Header: afxribbonpanel.h

See Also

Reference

CMFCRibbonPanel Class

Hierarchy Chart