本帖最后由 VisualEleven 于 2013-09-29 11:03:43 编辑

解决方案 »

  1.   

    BOOL CMainFrame::OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext)
    {
    // TODO: Add your specialized code here and/or call the base class
    m_wndSplitter1.CreateStatic(this, 2, 1);
    m_wndSplitter1.CreateView(0, 0, RUNTIME_CLASS(CAAAAView), CSize(100, 100), pContext);

    m_wndSplitter2.CreateStatic(&m_wndSplitter1, 1, 3, WS_CHILD | WS_VISIBLE, m_wndSplitter1.IdFromRowCol(1, 0));
    m_wndSplitter2.CreateView(0, 1, RUNTIME_CLASS(CAAAAView), CSize(100, 100), pContext);
    m_wndSplitter2.CreateView(0, 2, RUNTIME_CLASS(CAAAAView), CSize(100, 100), pContext); m_wndSplitter3.CreateStatic(&m_wndSplitter2, 2, 1, WS_CHILD | WS_VISIBLE, m_wndSplitter2.IdFromRowCol(0, 0));
    m_wndSplitter3.CreateView(0, 0, RUNTIME_CLASS(CAAAAView), CSize(100, 100), pContext);
    m_wndSplitter3.CreateView(1, 0, RUNTIME_CLASS(CAAAAView), CSize(100, 100), pContext);
    return TRUE;
    }