BOOL CMainFrame::OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext)
{
// TODO: 在此添加专用代码和/或调用基类
BOOL bCreateSpltr = wndSplitter.CreateStatic( this, 2, 1);
// COneView and CAnotherView are user-defined views derived from CMDIView
wndSplitter.CreateView(0,0,RUNTIME_CLASS(CttestView), CSize(0,0), pContext);
wndSplitter.CreateView(1,0,RUNTIME_CLASS(CViewother), CSize(0,0),pContext);
return (bCreateSpltr);
return CMDIFrameWndEx::OnCreateClient(lpcs, pContext);
}
这个是分割窗口的代码,能过编译。
点击重试后触发断点,停在
到底是什么问题啊!!!