Share via


CMFCToolBarEditBoxButton::OnChangeParentWnd

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

virtual void OnChangeParentWnd(
   CWnd* pWndParent
);

Parameters

  • [in] pWndParent
    A pointer to the new parent window.

Remarks

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

Requirements

Header: afxtoolbareditboxbutton.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCToolBarEditBoxButton Class

CEdit Class