如何设置静态切分窗口的大小
代码如下:
BOOL CMainFrame::OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext *pContext)
{
CRect rect;
GetClientRect(rect);
if (!m_wndSplitter.CreateStatic(this,1,2))
return FALSE;
if (!m_wndSplitter.CreateView(0,0,RUNTIME_CLASS(CLeftView),CSize(rect.Width()/4,100),pContext))
return FALSE;
if (!m_wndSplitter.CreateView(0,1,RUNTIME_CLASS(CMy8View),CSize(100,100),pContext))
return FALSE;
return TRUE;
}
我想设置视图的大小,可是在这里改CSize(100,100)没反应啊