有关NMHDR结构的转换问题,请高手详解
时间:2011-11-25
来源:互联网
在网上找了很多有关这个结构解析的资料,但看他们的举例,都换成了不同的结构体,来响应不同的事件。但我就查不到,不知道用哪个结构体好。请各位指点一下,谢谢!
作者: lrypower 发布时间: 2011-11-25
作者: chunyou128 发布时间: 2011-11-25
作者: VisualEleven 发布时间: 2011-11-25
MSDN吧,最全~
作者: lrypower 发布时间: 2011-11-25
http://blog.csdn.net/wzyzb/article/details/3974360
作者: lrypower 发布时间: 2011-11-25
最全的资料当然是msdn,有问题直接查msdn
vs6的msdn获取可以从以下路径获取NMHD在各个控件中的含义
[平台SDK]->[USER Interface services]->[shell and common controls]->
[common controls]
比如要查tree view control's NM_CLICK:
再选择[tree view controls]->tree view notification message]->NM_CLICK
即可看到 针对 NMHDR 结构的详细说明,其他msdn查找方法也类似。
作者: gameslq 发布时间: 2011-11-25
NM_DBLCLK (tree view) Notification
--------------------------------------------------------------------------------
Notifies the parent window of a tree-view control that the user has double-clicked the left mouse button within the control. This notification is sent in the form of a WM_NOTIFY message.
Syntax
LPNMHDR lpnmh = (LPNMHDR) lParam;
Parameters
lpnmh
Pointer to an NMHDR structure that contains additional information about this notification message.
Return Value
Return nonzero to prevent the default processing, or zero to allow the default processing.
Notification Requirements
Minimum DLL Version None
Header commctrl.h
Minimum operating systems Windows NT 3.51, Windows 95
NMHDR各成员表示的内容随不同对象(控件)而不同
最全的资料当然是msdn,有问题直接查msdn
vs6的msdn获取可以从以下路径获取NMHD在各个控件中的含义
[平台SDK]->[USER Interface services]->[shell and common controls]->
[common controls]
比如要查tree view control's N……
作者: lrypower 发布时间: 2011-11-25
作者: wltg2001 发布时间: 2011-11-25
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28