![]() |
#2
yuccn2013-05-09 20:52
|
编程论坛
VC++/MFC
提示'CmaimFrame' : undeclared identifier 写#include"MainFrm.h" 求大侠解答
远方的圣火
发布于
2013-05-09 18:29,
721 次点击
CMyApp* pApp=(CMyApp*)AfxGetApp(); CMainFrame* pMainFrame=(CmaimFrame*)AfxGetApp()->m_pMainWnd; pMainFrame->m_splitter.DeleteView(0,1); pMainFrame->m_splitter.CreateView(0,1,RUNTIME_CLASS(CRightFormView),CSize(0),NULL); pMainFrame->m_splitter.RecalcLayout();