Call this member function to change the parent window of a child window. If the child window is visible, Windows performs the appropriate redrawing and repainting.
CWnd* SetParent( CWnd* pWndNewParent );
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CWnd Overview, CWnd Member Functions, Window Class Categories, CWnd::GetParent