15,978
社区成员
发帖
与我相关
我的任务
分享
#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);
}