Description: 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.
To Search:
File list (Check if you may need any files):
如何实现三态选择树
..................\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