Export (0) Print
Expand All
Expand Minimize


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

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

[in] uiCmdID

Command ID associated with a ribbon element.

[in, out] arElements

Reference to a CArray of ribbon elements.

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

Header: afxribboncategory.h

© 2015 Microsoft