Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This message is sent by a list-view control when the user activates an item. It is sent in the form of a WM_NOTIFYmessage.

Syntax

LVN_ITEMACTIVATE 
lpnmlv = (LPNMLISTVIEW)
lParam;

Parameters

lpnmlv

Long pointer to an NMLISTVIEWstructure that contains message data. The iItem, iSubItem, and ptActionmembers contain data about the activated item. If the item was activated from the keyboard, the ptActionmember will contain –1 in its xand ymembers.

Return Value

The application receiving this message must return zero.

Requirements

Header commctrl.h
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also