Trouble with original size of splitter pane

I use a nest split as follow:
BOOL CMainFrame::OnCreateClient(LPCREATESTRUCT /*lpcs*/,
      CCreateContext* pContext)
      // create splitter window

      if(!m_wndSplitter1.CreateStatic(this, 2,1) ||
         !m_wndSplitter1.CreateView(1, 0, RUNTIME_CLASS(CView1), CSize(0,50),pContext)        ||      
         !m_wndSplitter2.CreateStatic(&m_wndSplitter1, 1, 2, WS_CHILD | WS_VISIBLE | WS_BORDER, m_wndSplitter1.IdFromRowCol(0,0)) ||
         !m_wndSplitter2.CreateView(0, 0, RUNTIME_CLASS(CrView2), CSize(200,100), pContext) ||
         !m_wndSplitter2.CreateView(0, 1, RUNTIME_CLASS(CView3), CSize(100,100),pContext))
                  return FALSE;

      return TRUE;

But CView1 always fill the full client area, anyone can solve this problem?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

You need to call m_wndSplitter1.RecalcLayout().

..B ekiM

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
NetGhostAuthor Commented:
Thank you ,mikeblas.
   Call m_wndSplitter1.RecacLayout() seems doesn't work.
I'v solved this problem by call SetRowInfo() and SetColumnInfo()
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
System Programming

From novice to tech pro — start learning today.