Share via


COleControl::ReparentControlWindow

Sets the parent of the control.

virtual void ReparentControlWindow( 
   HWND hWndOuter, 
   HWND hWndParent 
);

Parameters

  • hWndOuter
    The handle of the control window.

  • hWndParent
    The handle of the new parent window.

Remarks

Call this function to reset the parent of the control window.

Requirements

Header: afxctl.h

See Also

Reference

COleControl Class

Hierarchy Chart