I have a problem with my splitter window My window splitter are comnig perfectly alright but one of my pane which I have marked as bold in below code I cannot resize it accorigndly to my CSIZE.Whatever value iam giving in CSIZE it is not changing ,rest pane are perfectly alright.
Can anyone tell where iam missing .
Code:
BOOL CSplitter_Main::OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext)
{
	if(!m_wndSplitter.CreateStatic(this, 1, 2)) //,			// TODO: adjust the number of rows, columns
	{
		return FALSE ;
	}
	
    if (!m_wndSplitter.CreateView(0, 0,RUNTIME_CLASS(CEntityTreeView), CSize(170, 550), pContext))
	{
		TRACE0("Failed to create second pane\n");
		return FALSE;
	}
	
	  
	m_wndSplitter1.CreateStatic(&m_wndSplitter, 2,1, WS_CHILD|WS_VISIBLE|WS_BORDER, m_wndSplitter.IdFromRowCol(0,1));
	if (!m_wndSplitter1.CreateView( 0,0,RUNTIME_CLASS(CScenGenView),CSize(1550,650),pContext))
	{
		TRACE0("Failed to create first pane\n");
		return FALSE;
	}
	if(!m_wndSplitter1.CreateView(1,0,RUNTIME_CLASS(CEntityListView),CSize(10,100),pContext))
		
		
		
}