03 2011 档案

去掉CFormView的滚动条
摘要:CFormView派生于CScrollView,分割窗口后CFormView总是有水平和垂直2个滚动条,无论如何在属性中设置都不能去掉google后终于找到2个解决方法:1.在CFormView的派生类中重写void CLeftView::OnInitialUpdate()void CLeftView::OnInitialUpdate(){ CFormView::OnInitialUpdate(); SetScrollSizes(MM_TEXT, CSize(1,1));}2.也是修改void CLeftView::OnInitialUpdate()void CLeftView::OnInit 阅读全文

posted @ 2011-03-30 23:13 影语者 阅读(1998) 评论(0) 推荐(0)

warning C4183: “GetDocument”: 缺少返回类型;假定为返回“int”的成员函数
摘要:尝试SDI分割窗口,出现错误:warning C4183: “GetDocument”: 缺少返回类型;假定为返回“int”的成员函数看样子是头文件的包含关系错了将#include "XXDoc.h" 放在 #include "XXView.h"前面解决 阅读全文

posted @ 2011-03-30 21:59 影语者 阅读(3615) 评论(0) 推荐(0)

[Error]world geometry is not supported by the generic scenemanager
摘要:正在学习Ogre,照着官方的英文教程学习,学到RaySceneQueries and Basic Mouse Usage时其中出现了world geometry is not supported by the generic scenemanager的问题,因为对Ogre不是很熟悉,google下找到了解决方法,是Plugin_OctreeSceneManager.dll插件的问题在Plugins_d.cfg 的的后面加入Plugin=Plugin_OctreeSceneManager_d 阅读全文

posted @ 2011-03-05 10:36 影语者 阅读(1037) 评论(0) 推荐(1)

导航