NM_RETURN去火星了?
想要响应ListView控件的的NM_RETURN事件,但是居然接收不到该消息;MSDN上很明白的、并且有针对LV控件的说明:
NM_RETURN (list view)
NM_RETURN
lpnmh = (LPNMHDR) lParam;
Notifies a list view control's parent window that the control has the input focus and that the user has pressed the ENTER key. NM_RETURN is sent in the form of a WM_NOTIFY message.
The return value for this notification is not used.
lpnmh
Address of an NMHDR structure that contains additional information about this notification message.
但是无论我如何的努力,就是接收不到它。
查遍了百度、google也有零星的帖子和我一样在追寻NM_RETURN去哪里le ?可是没有答案。
潭里的如云高手,谁能告诉我,如何才能收到NM_RETURN消息?难道它去了火星,地球人无法找到了她的踪影?
难道非得subclass才行?ms的工程师是边打瞌睡边写msdn的?