Retrieves the command IDs for the specified collection of ribbon elements on the ribbon bar.
- [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.