Retrieves the command IDs for the ribbon elements that are contained in the ribbon category.
void GetItemIDsList(
   CList<UINT, UINT>& lstItems,
   BOOL bHiddenOnly = FALSE
) const;
Parameters
- [out] lstItems 
 The list of command IDs for the ribbon elements in the ribbon category.
- [in] bHiddenOnly 
 TRUE to exclude ribbon elements displayed on the ribbon panels in the ribbon category; FALSE to include all ribbon elements in the ribbon category.
Requirements
Header: afxribboncategory.h