Share via


CMFCToolBarDateTimeCtrl::OnClick

Called by the framework when the user clicks the control.

virtual BOOL OnClick(
   CWnd* pWnd,
   BOOL bDelay = TRUE
);

Parameters

  • [in] pWnd
    Unused.

  • [in] bDelay
    Unused.

Return Value

Nonzero if the button processes the click message; otherwise 0.

Remarks

This method overrides the base class implementation, CMFCToolBarButton::OnClick, by returning a nonzero value if the internal CMFCToolBarDateTimeCtrlImpl object is visible.

Requirements

Header: afxtoolbardatetimectrl.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCToolBarDateTimeCtrl Class

CMFCToolBarButton::OnClick

CMFCToolBarDateTimeCtrlImpl Class