VC如何创建RUNTIME_CLASS(view)中view对象
如题!!m_wndSplitter.CreateView(0,0,RUNTIME_CLASS(CMyView),CSize(600,600),pContext);这是代码...
如题!!
m_wndSplitter.CreateView(0,0,RUNTIME_CLASS(CMyView),CSize(600,600),pContext);这是代码。
:\Program Files\Microsoft Visual Studio\MyProjects\汽车翻转\MainFrm.cpp(172) : error C2653: 'CMyView' : is not a class or namespace name
C:\Program Files\Microsoft Visual Studio\MyProjects\汽车翻转\MainFrm.cpp(172) : error C2065: 'classCMyView' : undeclared identifier
Error executing cl.exe. 展开
m_wndSplitter.CreateView(0,0,RUNTIME_CLASS(CMyView),CSize(600,600),pContext);这是代码。
:\Program Files\Microsoft Visual Studio\MyProjects\汽车翻转\MainFrm.cpp(172) : error C2653: 'CMyView' : is not a class or namespace name
C:\Program Files\Microsoft Visual Studio\MyProjects\汽车翻转\MainFrm.cpp(172) : error C2065: 'classCMyView' : undeclared identifier
Error executing cl.exe. 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询