共用方式為


CMFCRibbonBar::GetQuickAccessCommands

Retrieves a list of command IDs for the ribbon elements on the quick access toolbar.

void GetQuickAccessCommands(
   CList<UINT,UINT>& lstCommands 
);

Parameters

  • [out] lstCommands
    The list of command IDs for the ribbon elements on the quick access toolbar.

Remarks

The list does not contain ribbon elements that are control separators.

Requirements

Header: afxribbonbar.h

See Also

Reference

CMFCRibbonBar Class

Hierarchy Chart