The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.



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;

[out] lstItems

The list of command IDs for ribbon elements that are contained in the ribbon bar.

[in] bHiddenOnly

TRUE to exclude ribbon elements that are displayed; FALSE to include all ribbon elements in the ribbon bar.


Header: afxribbonbar.h