共用方式為


CMFCRibbonButton::RemoveAllSubItems

Removes all menu items from the pop-up menu.

void RemoveAllSubItems();

Requirements

Header: afxribbonbutton.h

See Also

Reference

CMFCRibbonButton Class

Hierarchy Chart