CMFCRibbonBar::GetElementsByID
Visual Studio 2012
Retrieves an array of pointers to all ribbon elements that have a specific command ID.
void GetElementsByID( UINT uiCmdID, CArray<CMFCRibbonBaseElement* ,CMFCRibbonBaseElement*>& arButtons );