在对话框中嵌入子对话框
代码
1 m_childDlg = new CChildDlg(); 2 m_childDlg->Create(IDD_CHILD_DIALOG,AfxGetApp()->m_pMainWnd); 3 CRect rc; 4 rc.left = 0; 5 rc.top = 0; 6 rc.bottom = 200; 7 rc.right = 350; 8 m_childDlg->MoveWindow(rc); 9 m_childDlg->ShowWindow(SW_SHOW);