问题描述
我有一个大型机,目前我分为两个部分,一个是leftview(树视图),另一个是右视图(listcontrol)
和我当前的要求是我想将右视图分成3个部分一个
topview(它应该像标题),另一个是底视图(底部标题)和middlle与之前的右视图相同(它应该是listcontol saem,如前所述)
can你能建议我怎么拆分这个?
我试过的:
if(!m_wndSplitter.CreateStatic(this,1,2))
返回FALSE;
if(!m_wndSplitter.CreateView (0,0,RUNTIME_CLASS(CLeftView),CSize(0,0),pContext)||
!m_wndSplitter.CreateView(0,1,RUNTIME_CLASS(CRightView),CSize(0,0), pContext))
{
返回false;
}
现在在这个右视图我必须分成3零件
{
i have one mainframe and currently I have splitted into two parts one is leftview(treeview) and another is rightview(listcontrol)
and my current requirement is I want to split the rightview into 3 parts one
topview(it should be like header) and another is bottom view (bottom header) and middlle same as previous rightview(it should be listcontol saem as previous)
could you please suggest me how can split this?
What I have tried:
if (!m_wndSplitter.CreateStatic(this, 1, 2))
return FALSE;
if (!m_wndSplitter.CreateView(0, 0, RUNTIME_CLASS(CLeftView), CSize(0, 0), pContext) ||
!m_wndSplitter.CreateView(0, 1, RUNTIME_CLASS(CRightView), CSize(0, 0), pContext))
{
return false;
}
now in this rightview I have to split into 3 parts
{
推荐答案
这篇关于在许多部分拆分主机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!