共用方式為


CMFCRibbonBaseElement::IsMenuMode

Indicates whether the ribbon element is contained in a menu.

BOOL IsMenuMode() const;

Return Value

TRUE if the ribbon element is contained in a menu; otherwise, FALSE.

Requirements

Header: afxbaseribbonelement.h

See Also

Reference

CMFCRibbonBaseElement Class

Hierarchy Chart