重载
BOOL CMainFrame::OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext)
{
if (!m_NanSplitterWnd.CreateStatic(this, 1, 2))
return false;
if (!m_NanSplitterWnd.CreateView(0, 0, RUNTIME_CLASS(CFormviewDlg), CSize(100,200), pContext))
return false;
if (!m_NanSplitterWnd.CreateView(0, 1, pContext->m_pNewViewClass, CSize(200,200), pContext))
return false;
return true;
}
注意
return true;
单文档分割窗口
最新推荐文章于 2020-12-29 05:05:56 发布