Udostępnij za pośrednictwem


CMFCToolBarButton::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

The default implementation of this method does nothing. Override this method to update the visibility of the button.

Requirements

Header: afxtoolbarbutton.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCToolBarButton Class