A Multi-Level CCheckListbox - 项目摘要 |
摘要
| 管理 |
论坛 文档
| 软件包 |
|
|
|
项目描述: |
Recently, I was in the need of a control that allowed the users the ability to check multiple items in a CListbox type of fashion. I would of used the common MFC control CCheckListBox but I needed the items to be presented in a hierarchy and be totally customizable (font, colors, images, etc.) for each individual item. I also thought about using the MFC CTreeCtrl and do my own custom drawing but I really wanted the CListbox look and feel along without the ability to expand and collapse each item. So...here's my solution...
最近,我需要一个控件让用户可以选取CListbox 中的多个条目。我习惯了使用 MFC 控件CCheckListBox ,但我需要按层次式的方式来提供选项,并可以完全定制每个条目的设置(字体、颜色、图片等等)。我也试着使用MFC CTreeCtrl ,并且我自己定制绘制,但我实际上需要 CListbox 的感观,不能够扩展和层叠每个条目。所以,这里是我的解决方案...
来源: http://www.codeguru.com/listbox/CCheckList.shtml |
类别: |
|
发布者:
cbd002
|
|
最新发布源码包 |
软件包 |
版本号 |
日期 |
本地下载 |
CCheckList |
 1.0  |
2004-04-17 |
下载 |
|
|