This method changes the parent window.
At a Glance
Syntax
HWND SetParent( HWND hWndNewParent );
See Also
CWindow::GetParent