文件名称:colorlb_demo
- 所属分类:
- ListView/ListBox
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 28kb
- 下载次数:
- 0次
- 提 供 者:
- cow****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
彩色ListBox,来自http://www.codeguru.com/cpp/controls/listbox/colorlistboxes/article.php/c1611
This CColorListBox class is based on Patrice Godard s colored list box class of the same name, with the following additions:
The focus rectangle is now drawn only when the control has the input focus.
Items in the list are properly colored when the list box is disabled.
Items in the list are properly displayed when the LBS_USETABSTOPS style is set.
The entire rectangle of the selected item is now colored, instead of just the text background rectangle.
When an item is selected, the text color inverts, and the highlight color is the original text color (like the Cyan list item in the above graphic).
-Color ListBox, from http://www.codeguru.com/cpp/controls/listbox/colorlistboxes/article.php/c1611This CColorListBox class is based on Patrice Godard s colored list box class of the same name, with the following additions: The focus rectangle is now drawn only when the control has the input focus. Items in the list are properly colored when the list box is disabled. Items in the list are properly displayed when the LBS_USETABSTOPS style is set. The entire rectangle of the selected item is now colored, instead of just the text background rectangle. When an item is selected, the text color inverts, and the highlight color is the original text color (like the Cyan list item in the above graphic).
This CColorListBox class is based on Patrice Godard s colored list box class of the same name, with the following additions:
The focus rectangle is now drawn only when the control has the input focus.
Items in the list are properly colored when the list box is disabled.
Items in the list are properly displayed when the LBS_USETABSTOPS style is set.
The entire rectangle of the selected item is now colored, instead of just the text background rectangle.
When an item is selected, the text color inverts, and the highlight color is the original text color (like the Cyan list item in the above graphic).
-Color ListBox, from http://www.codeguru.com/cpp/controls/listbox/colorlistboxes/article.php/c1611This CColorListBox class is based on Patrice Godard s colored list box class of the same name, with the following additions: The focus rectangle is now drawn only when the control has the input focus. Items in the list are properly colored when the list box is disabled. Items in the list are properly displayed when the LBS_USETABSTOPS style is set. The entire rectangle of the selected item is now colored, instead of just the text background rectangle. When an item is selected, the text color inverts, and the highlight color is the original text color (like the Cyan list item in the above graphic).
(系统自动生成,下载前可以参看下载内容)
下载文件列表
ColorLBTest
...........\ColorLBTest.aps
...........\ColorLBTest.cpp
...........\ColorLBTest.dsp
...........\ColorLBTest.dsw
...........\ColorLBTest.exe
...........\ColorLBTest.h
...........\ColorLBTest.rc
...........\ColorLBTestDlg.cpp
...........\ColorLBTestDlg.h
...........\ColorListBox.cpp
...........\ColorListBox.h
...........\res
...........\...\ColorLBTest.rc2
...........\resource.h
...........\StdAfx.cpp
...........\StdAfx.h
...........\ColorLBTest.aps
...........\ColorLBTest.cpp
...........\ColorLBTest.dsp
...........\ColorLBTest.dsw
...........\ColorLBTest.exe
...........\ColorLBTest.h
...........\ColorLBTest.rc
...........\ColorLBTestDlg.cpp
...........\ColorLBTestDlg.h
...........\ColorListBox.cpp
...........\ColorListBox.h
...........\res
...........\...\ColorLBTest.rc2
...........\resource.h
...........\StdAfx.cpp
...........\StdAfx.h