提示'CmaimFrame' : undeclared identifier 写#include"MainFrm.h" 求大侠解答
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();