共用方式為


CMFCRibbonPanel::GetItemIDsList

Retrieves the command IDs for all ribbon elements in the ribbon panel.

void GetItemIDsList(
    CList<UINT, UINT>& lstItems
) const;

Parameters

  • [out] lstItems
    The list of command IDs for ribbon elements that are contained in the ribbon panel.

Requirements

Header: afxribbonpanel.h

See Also

Reference

CMFCRibbonPanel Class

Hierarchy Chart