共用方式為


CMFCRibbonBaseElement::HasMenu

Indicates whether the ribbon element has a menu.

virtual BOOL HasMenu() const;

Return Value

Always returns FALSE.

Remarks

By default this method always returns FALSE. Override this method in a derived class to indicate whether the ribbon element has a menu.

Requirements

Header: afxbaseribbonelement.h

See Also

Reference

CMFCRibbonBaseElement Class

Hierarchy Chart