MFC基于CFormView的视图不能分割成两部分么?
时间:2011-11-27
来源:互联网
C/C++ code
编译没错了
---------------------------
Microsoft Visual C++ Debug Library
---------------------------
Debug Assertion Failed!
Program: C:\Documents and Settings\Administrator\桌面\Form\Debug\Form.exe
File: viewform.cpp
Line: 69
For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.
(Press Retry to debug the application)
---------------------------
终止(A) 重试(R) 忽略(I)
---------------------------
#include "FormDoc.h" #include "FormView.h" #include "NewView.h" BOOL CMainFrame::OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext) { // TODO: Add your specialized code here and/or call the base class if(m_wndSplitter1.CreateStatic(this,1,2)==NULL) return FALSE; m_wndSplitter1.CreateView(0,0,RUNTIME_CLASS(CTestView),CSize(100,100), pContext); m_wndSplitter1.CreateView(0,1,RUNTIME_CLASS(CNewView),CSize(100,100),pContext); return TRUE; // return CFrameWnd::OnCreateClient(lpcs, pContext); }
编译没错了
---------------------------
Microsoft Visual C++ Debug Library
---------------------------
Debug Assertion Failed!
Program: C:\Documents and Settings\Administrator\桌面\Form\Debug\Form.exe
File: viewform.cpp
Line: 69
For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.
(Press Retry to debug the application)
---------------------------
终止(A) 重试(R) 忽略(I)
---------------------------
作者: dingxz105090 发布时间: 2011-11-27
viewform.cpp Line 69是和对话框模板有关,检查你的资源
作者: jiangsheng 发布时间: 2011-11-28
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28