共用方式為


CMFCToolBarEditBoxButton::OnShow

Called by the framework when the button becomes visible or invisible.

virtual void OnShow(
   BOOL bShow
);

Parameters

  • [in] bShow
    Specifies whether the button is visible. If this parameter is TRUE, the button is visible. Otherwise, the button is not visible.

Remarks

This method extends the base class implementation (CMFCToolBarButton::OnShow) by displaying the button if bShow is TRUE. Otherwise, this method hides the button.

Requirements

Header: afxtoolbareditboxbutton.h

See Also

Reference

CMFCToolBarEditBoxButton Class

Hierarchy Chart

CMFCToolBarButton::OnShow