共用方式為


CMFCRibbonButton::IsDefaultCommand

Specifies whether the default command for a ribbon button is enabled.

BOOL IsDefaultCommand() const;

Return Value

TRUE if you have enabled the default command for a ribbon button; FALSE otherwise.

Requirements

Header: afxribbonbutton.h

See Also

Reference

CMFCRibbonButton Class

Hierarchy Chart