CMFCRibbonBar::GetItemIDsList
Visual Studio 2012
Retrieves the command IDs for the specified collection of ribbon elements on the ribbon bar.
void GetItemIDsList( CList<UINT, UINT>& lstItems, BOOL bHiddenOnly = FALSE ) const;