BOOL CMainFrame::OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext)
{
// TODO: Add your specialized code here and/or call the base class
m_wndSplitter.CreateView(0,0,RUNTIME_CLASS(CDynsplitView),CSize(100,100),pContext);
m_wndSplitter.CreateView(0,1,RUNTIME_CLASS(CMyView),CSize(100,100),pContext);
return true;
}为什么会出现这个错误?我已经加了头文件了,它说没有CDynsplitView这个类???
F:\VC编程\dynsplit\MainFrm.cpp(128) : error C2653: 'CDynsplitView' : is not a class or namespace name
{
// TODO: Add your specialized code here and/or call the base class
m_wndSplitter.CreateView(0,0,RUNTIME_CLASS(CDynsplitView),CSize(100,100),pContext);
m_wndSplitter.CreateView(0,1,RUNTIME_CLASS(CMyView),CSize(100,100),pContext);
return true;
}为什么会出现这个错误?我已经加了头文件了,它说没有CDynsplitView这个类???
F:\VC编程\dynsplit\MainFrm.cpp(128) : error C2653: 'CDynsplitView' : is not a class or namespace name
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货