窗口折分的问题
BOOL CMainFrame::OnCreateClient(LPCREATESTRUCT /*lpcs*/,CCreateContext* pContext)
{
m_wndSplitter.CreateStatic(this,1,2);//
m_wndSplitter.CreateView(0,1,RUNTIME_CLASS(CsdView),CSize(0,0),pContext);
m_wndSplitter1.CreateStatic(&m_wndSplitter,2,1);
m_wndSplitter1.CreateView(0,0,RUNTIME_CLASS(CsdView),CSize(0,100),pContext);
m_wndSplitter1.CreateView(1,0,RUNTIME_CLASS(CsdView),CSize(0,0),pContext);
return TRUE;
}
我这段代码在运行时就出错,请指点我哪里错了?