Dela via


CMFCToolBarDateTimeCtrl::OnChangeParentWnd

Called by the framework when the button is inserted into a new toolbar.

virtual void OnChangeParentWnd(
   CWnd* pWndParent
);

Parameters

  • [in] pWndParent
    The new parent window.

Remarks

This method overrides the base class implementation (CMFCToolBarButton::OnChangeParentWnd) by recreating the internal CMFCToolBarDateTimeCtrlImpl object.

Requirements

Header: afxtoolbardatetimectrl.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCToolBarDateTimeCtrl Class

CMFCToolBarButton::OnChangeParentWnd

CMFCToolBarDateTimeCtrlImpl Class