共用方式為


CMFCRibbonBaseElement::SetDefaultMenuLook

Sets the ribbon element to appear as a pop-up command.

void SetDefaultMenuLook(
   BOOL bIsDefaultMenuLook = TRUE
);

Parameters

  • [in] bIsDefaultMenuLook
    TRUE to set the ribbon element to appear as a pop-up command; otherwise FALSE.

Requirements

Header: afxbaseribbonelement.h

See Also

Reference

CMFCRibbonBaseElement Class

Hierarchy Chart