Partager via


CMFCRibbonCategory::GetElementsByID

Retrieves all ribbon elements that are associated with the specified command ID.

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

Parameters

  • [in] uiCmdID
    Command ID associated with a ribbon element.

  • [in, out] arElements
    Reference to a CArray of ribbon elements.

Remarks

Ribbon elements that are designed for use on the quick access toolbar are included in the array.

Requirements

Header: afxribboncategory.h

See Also

Reference

CMFCRibbonCategory Class

Hierarchy Chart