Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Collapse the table of content
Expand the table of content


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

© 2015 Microsoft