LVN_ENDLABELEDIT

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This message notifies a list-view control parent window about the end of label editing for an item. It is sent in the form of a WM_NOTIFY message.

Syntax

LVN_ENDLABELEDIT pdi = (LV_DISPINFO FAR *) lParam;

Parameters

  • pdi
    Pointer to an LV_DISPINFO structure. The item member of this structure is an LVITEM structure whose iItem member identifies the item being edited. The pszText member of item contains a valid value when the LVN_ENDLABELEDIT message is sent, regardless of whether the LVIF_TEXT flag is set in the mask member of the LVITEM structure.

    If the user cancels editing, the pszText member of the LVITEM structure is NULL; otherwise, pszText is the address of the edited text.

Return Value

If the pszText member of the LVITEM structure is non-NULL, return TRUE to set the item's label to the edited text. Return FALSE to reject the edited text and revert to the original label.

If the pszText member of the LVITEM structure is NULL, the return value is ignored.

Requirements

Header commctrl.h
Windows Embedded CE Windows CE 1.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
NMLISTVIEW