Add Multiline Balloon Tooltips to ListVi - 项目摘要 |
摘要
| 管理 |
论坛 文档
| 软件包 |
|
|
|
项目描述: |
The attached code demonstrates a technique you can use to create multiline balloon tooltips for ListView column headers. The code uses subclassing technique to trap the WM_MOUSEMOVE event of the Header control which is a constituent part of the ListView control. The handler for this event determines the index of the column header under the mouse pointer and changes the tooltip text respectively; it uses the HDM_HITTEST message for this purpose.
附录的代码演示了一种技术,你能用它创建用于ListView列标题的多行的气球形状的工具提示。这个代码使用子类化技术来捕获标题控件(ListView控件的一部分)的WM_MOUSEMOVE事件。这个事件处理器确定了鼠标指针下的列标题索引,分别更改了工具提示文本;为了达到这一目的它使用了HDM_HITTEST消息。
来源: http://www.freevbcode.com/ShowCode.Asp?ID=5402 |
类别: |
|
发布者:
cbd001
|
|
最新发布源码包 |
软件包 |
版本号 |
日期 |
本地下载 |
MBTLVCHSample |
 1.0  |
2003-11-30 |
下载 |
|
|