文件名称:tree_ocx
- 所属分类:
- 界面编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 43kb
- 下载次数:
- 0次
- 提 供 者:
- 周*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
有时候我们经常需要实现树的多态选择,本文就介绍一种三态选择树的具体实现。
步骤一:生成一个对话框工程。
步骤二:添加树控件,设置所需的属性。
步骤三:做三态选择框图标,且在OnInitDialog()中初始化树,使树控件与选择框图标所构成的图像列表控件联系,具体实现看源代码。
步骤四:实现树的左击消息,实现三态选择。
-Sometimes we often need to implement tree polymorphic choose, this article presents a concrete realization of three-state selection tree. Step one: generate a dialog box works. Step two: Add the tree control, set the desired properties. Step three: do the three-state selection box icon, and in the OnInitDialog () to initialize the tree, the tree control with a selection box icon image list control contact concrete realization to see the source code. Step four: left-click the message, the tri-state choice to achieve tree.
步骤一:生成一个对话框工程。
步骤二:添加树控件,设置所需的属性。
步骤三:做三态选择框图标,且在OnInitDialog()中初始化树,使树控件与选择框图标所构成的图像列表控件联系,具体实现看源代码。
步骤四:实现树的左击消息,实现三态选择。
-Sometimes we often need to implement tree polymorphic choose, this article presents a concrete realization of three-state selection tree. Step one: generate a dialog box works. Step two: Add the tree control, set the desired properties. Step three: do the three-state selection box icon, and in the OnInitDialog () to initialize the tree, the tree control with a selection box icon image list control contact concrete realization to see the source code. Step four: left-click the message, the tri-state choice to achieve tree.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
如何实现三态选择树
..................\VC知识库文章 - 如何实现三态选择树.files
..................\.......................................\vckcom.gif
..................\.......................................\earch.gif
..................\.......................................\MutiTreeDemo.gif
..................\.......................................\toplogo.gif
..................\.......................................\rec1.gif
..................\.......................................\go.gif
..................\.......................................\dotline2.gif
..................\.......................................\style.css
..................\VC知识库文章 - 如何实现三态选择树.htm
..................\MutiTreeDemo
..................\............\Release
..................\............\.......\MutiTreeDemo.exe
..................\............\res
..................\............\...\ico00001.ico
..................\............\...\icon1.ico
..................\............\...\icon2.ico
..................\............\...\MutiTreeDemo.ico
..................\............\...\MutiTreeDemo.rc2
..................\............\...\new.bmp
..................\............\MutiTreeDemo.aps
..................\............\MutiTreeDemo.clw
..................\............\MutiTreeDemo.cpp
..................\............\MutiTreeDemo.dsp
..................\............\MutiTreeDemo.dsw
..................\............\MutiTreeDemo.h
..................\............\MutiTreeDemo.rc
..................\............\MutiTreeDemoDlg.h
..................\............\resource.h
..................\............\StdAfx.cpp
..................\............\StdAfx.h
..................\............\MutiTreeDemo.ncb
..................\............\MutiTreeDemo.plg
..................\............\MutiTreeDemoDlg.cpp
..................\............\MutiTreeDemo.opt