共用方式為


CMFCRibbonPanel::GetDefaultButton

Retrieves the default button for the ribbon panel.

CMFCRibbonButton& GetDefaultButton();

Return Value

The default button for the ribbon panel.

Remarks

The default button is displayed when a ribbon panel has insufficient space to display its ribbon elements.

Requirements

Header: afxribbonpanel.h

See Also

Reference

CMFCRibbonPanel Class

Hierarchy Chart