CWnd::SetParent
Visual Studio 2010
Changes the parent window of a child window.
CWnd* SetParent( CWnd* pWndNewParent );
Changes the parent window of a child window.
CWnd* SetParent( CWnd* pWndNewParent );