CMFCRibbonCategory::GetElementsByID
TOC
Collapse the table of content
Expand the table of content

CMFCRibbonCategory::GetElementsByID

 

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.

Requirements

Header: afxribboncategory.h

Show:
© 2016 Microsoft