Udostępnij za pośrednictwem


CMFCRibbonBaseElement::GetElementsByID

Adds the current ribbon element to the specified array if the current ribbon element contains the specified command ID.

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

Parameters

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

  • [in] arElements
    An array of ribbon elements.

Requirements

Header: afxbaseribbonelement.h

See Also

Reference

CMFCRibbonBaseElement Class

Hierarchy Chart