BOOL CMainFrame::OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext) 
{
// TODO: Add your specialized code here and/or call the base class
   
CRect   rect;   
    GetClientRect(&rect);   
    //结构成1行2列
    if(!m_wndSplitter1.CreateStatic(this, 1, 2))   
{   
           return  FALSE;   
}
//CSendMailView连接到0行0列
m_wndSplitter1.CreateView(0,0,RUNTIME_CLASS(CSendMailView),CSize(rect.Width()/4,rect.Height()), pContext);
//CView1  连接到0行1列
m_wndSplitter1.CreateView(0,1,RUNTIME_CLASS(CView1),CSize(3*rect.Width()/4,rect.Height()),pContext); 
     
return CFrameWnd::OnCreateClient(lpcs, pContext);
}
这是我的程序,怎么执行后出来的单文档实现左右分割效果的