一般用在SDI/MDI中,使用向导生成时把View的基类更改为CTreeView。
具体用法与CTreeCtrl类似,这样就可得到CTreeCtrl:CTreeCtrl& treeCtrl = this->GetTreeCtrl();
具体用法与CTreeCtrl类似,这样就可得到CTreeCtrl:CTreeCtrl& treeCtrl = this->GetTreeCtrl();
解决方案 »
- VC界面里读取ACCESS中的图片。。。Buffer转成HBITMAP格式时出现的问题
- 'CObject::operator =' : cannot access private member 错误,如何解决?
- CLISTVIEW右键菜单的问题,急急急~~~~
- 困惑我的问题:为什么头文件放的位置不同编译结果不同
- 今天搜索不了,请教高手:TCP HTTP UDP socks 概念 关系和区别!
- 关于物体移动的问题???
- CE下文本文件读写问题!
- 如何获取网络连通的通知?
- 外部调用类的函数不能inline ?
- 钩子程序
- 用attach绑定窗口对象和句柄后在线程之间传递???急求?????
- 全局钩子问题,不能捕捉其他进程消息
例外:www.vchome.net中也有这方面的例子。
再者,MSDN中有也这方面的例子。
hItemcorrectnum = this->m_tree2.InsertItem("修正系数");
hIteminputpara = this->m_tree2.InsertItem("输入参数");
hItemaffectpara = this->m_tree2.InsertItem("影响因素");
hItemtablepara = this->m_tree2.InsertItem("查表参数");
hItemformula = this->m_tree2.InsertItem("计算公式");