共用方式為


CMFCRibbonBaseElement::OnShow

Called by the framework to show or hide the ribbon element.

virtual void OnShow(
   BOOL bShow
);

Parameters

  • [in] bShow
    This parameter is not used.

Remarks

By default this method does nothing. Override this method to show or hide the ribbon element.

Requirements

Header: afxbaseribbonelement.h

See Also

Reference

CMFCRibbonBaseElement Class

Hierarchy Chart