Compartilhar via


LVN_ITEMACTIVATE

A version of this page is also available for

Windows Embedded CE 6.0 R3

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_NOTIFY message.

Syntax

LVN_ITEMACTIVATE lpnmlv = (LPNMLISTVIEW)lParam;

Parameters

  • lpnmlv
    Long pointer to an NMLISTVIEW structure that contains message data. The iItem, iSubItem, and ptAction members contain data about the activated item. If the item was activated from the keyboard, the ptAction member will contain –1 in its x and y members.

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

Reference

List-View Controls Notifications
List-View Controls Messages
WM_NOTIFY