改变初始化视图
1.改变CTestApp::InitInstance() {
pDocTemplate = new CSingleDocTemplate(
IDR_MAINFRAME,
RUNTIME_CLASS(CTestDoc),
RUNTIME_CLASS(CMainFrame), // 主 SDI 框架窗口
RUNTIME_CLASS(CLeftView));
}
2.资源dialog继承设为CFormView
3.在该CFormView对话框资源模板中右键->Propeities->Styles->Style->Child