Dela via


CMFCToolBarDateTimeCtrl::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: afxtoolbardatetimectrl.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCToolBarDateTimeCtrl Class

CMFCToolBarButton::OnShow