windows_programming_notes.nbk: Home | Index | Next Page: NM_DBLCLK (list view) | Previous Page: MSGBOXPARAMS


 NM_CLICK (list view)

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

    NM_CLICK
        lpnmitem = (LPNMITEMACTIVATE) lParam;

Parameters

Return Values

Remarks

The iItem member of lpnmitem will only be 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.


windows_programming_notes.nbk: Home | Index | Next Page: NM_DBLCLK (list view) | Previous Page: MSGBOXPARAMS


Notebook exported on Monday, 7 July 2008, 18:56:50 PM Eastern Daylight Time