Share via


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

Concepts

MFC Hierarchy Chart

Reference

CMFCRibbonPanel Class

Change History

Date

History

Reason

October 2008

Updated whole topic.

Information enhancement.