|
MFC Extension Classes CListCtrlEx and CL - 项目摘要 |
摘要
| 管理 |
论坛 文档
| 软件包 |
|
源码搜索 |
|
|
项目描述: |
The classes CListCtrlEx and CListViewEx augment their base classes CListCtrl and CListView by implementing the following features:
The background of the sorted column can be displayed in a different color (like the detailed view of the Windows XP Explorer).
The header of the sorted column can display an arrow that indicates the sort direction (like the detailed view of the Windows XP Explorer).
You can give the user the opportunity to hide or redisplay selected columns by just clicking on the header control with the right mouse button (see picture below).
In contrast to the original list view control, the first column can have the style LVCFMT_CENTER or LVCFMT_RIGHT, too. For this feature, the list view control must have the style LVS_OWNERDRAWFIXED.
The label attributes state icon, small icon, and selection can always be shown in the leftmost column, independent of the order of the columns. For this feature, the listview control must have the style LVS_OWNERDRAWFIXED.
CListCtrlEx 和 CListViewEx 类通过扩展它们的基类 CListCtrl 和CListView 实现了以下功能:
排序列的背景可以用不同颜色显示(类似 Windows XP Explorer的详细视图)。
排序列的标题可以显示一个箭头,表示排序的方向(类似 Windows XP Explorer的详细视图)。
可以让用户隐藏或重新显示选择的列,只要用鼠标右键点击列标题
和原始的列表视图控件相比,第一列也可以有 LVCFMT_CENTER 或 LVCFMT_RIGHT风格。为了使用这一功能,列表视图控件必须有LVS_OWNERDRAWFIXED风格。
标签属性状态图标,小图标,选择总是显示在最左边的一列,独立于列的顺序。为了使用这一功能,列表视图控件需要有 LVS_OWNERDRAWFIXED风格。
来源: http://www.codeguru.com/listview/CListCtrlEx.html |
类别: |
|
发布者:
cbd002
|
|
最新发布源码包 |
软件包 |
版本号 |
日期 |
本地下载 |
CListCtrlEC |
 1.0  |
2004-04-17 |
下载 |
|
|