zhegemingziwoyongle
zhegemingziwoyongle
2016-03-31 05:23

MFC创建分割窗口出现问题

  • mfc

if (!m_WndSplitter.CreateView(0, 0, pContext->m_pNewViewClass, CSize(250, 0), pContext))
{
TRACE0("Failed to create first pane\n");
return FALSE;
}

// add the second splitter pane - an input view in column 1
if (!m_WndSplitter.CreateView(0, 1, RUNTIME_CLASS(CMyView), CSize(0, 0), pContext))
{
    TRACE0("Failed to create second pane\n");
    return FALSE;
}

SetActiveView((CView*)m_WndSplitter.GetPane(0, 1));

创建完后拖动窗改变大小右侧有竖线怎么回事图片说明

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

1条回答