Hi , I want to split the SDI moudle view into three part , howerer it doesn't show within the right way , the height of two top parts is zero , what's wrong ?
I add code in function OnCreateClient:
CRect rect;
GetClientRect(&rect);
if ( NULL == m_wndSplitter1.CreateStatic( this,2,1 )) return false;
m_wndSplitter1.CreateView(1,0, RUNTIME_CLASS(VEDView),CSize(rect.Width()/2, rect.Height()/4),pContext);
m_wndSplitter2.CreateStatic( &m_wndSplitter1,1,2 ,WS_CHILD|WS_VISIBLE,m_wndSplitter1.IdFromRowCol(0,0) );
m_wndSplitter2.CreateView(0,0, RUNTIME_CLASS(TView), CSize(rect.Width()/3, rect.Height()-rect.Height()/4), pContext);
m_wndSplitter2.CreateView(0,1, RUNTIME_CLASS(TView), CSize(rect.Width() - rect.Width()/3, rect.Height()-rect.Height()/4), pContext);
return true;
should I change somewhere else ?