Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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