使用类别(类似控制面板)视图创建列表视图/树形视图
我目前有一个应用程序,它使用带有组的常规 ListView 来显示一堆模块。
我想使用类别视图。类别视图是 Windows Vista 中为控制面板引入的新视图:
是否有第三方控件或一种(通过 API)创建模仿 Windows 7 控制面板行为的 ListView 的方法?
- 带有图标和操作链接的类别。
- 类别单击和操作单击的单独事件。
- 一列或两列布局
- 操作链接或行之间的分隔符
编辑: 似乎 Windows 在内部使用 TreeView (SysTreeView32) 控件来实现此目的。
I currently have an application which uses a regular ListView with groups to show a bunch of modules.
I would like to use a Category view. Category view is the new view introduced in Windows Vista for the Control Panel:
Is there a third party control or a way (via API) to create a ListView which mimics the behavior of the Windows 7 Control Panel?
- Categories with icons and action links.
- Separate events for Category Click and Action Click.
- One or two column layout
- Separators between action links or lines
EDIT: Seems like Windows is using a TreeView (SysTreeView32) control internally for this.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它不是 ListView,也不是 TreeView,它是神秘的 DirectUIHWnd。好久没来了,回到XP的欢迎界面。仍然没有记录。
It's not a ListView, not a TreeView, its the enigmatic DirectUIHWnd. Been around a long time, back to XP's Welcome screen. Still not documented.