Export (0) Print
Expand All
3 out of 4 rated this helpful - Rate this topic

NM_CLICK (list view) notification code

Sent by a list-view control when the user clicks an item with the left mouse button. This notification code is sent in the form of a WM_NOTIFY message.


NM_CLICK

    lpnmitem = (LPNMITEMACTIVATE) lParam;

Parameters

lParam

Version 4.71. Pointer to an NMITEMACTIVATE structure that contains additional information about this notification. The iItem, iSubItem, and ptAction members of this structure contain information about the item.

Return value

The return value for this notification is not used.

Remarks

The iItem member of lParam is only valid if the icon or first-column label has been clicked. To determine which item is selected when a click takes place elsewhere in a row, send an LVM_SUBITEMHITTEST message.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Commctrl.h

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.