Prev Next

LVN_BEGINLABELEDIT Overview  Group

The LVN_BEGINLABELEDIT notification message notifies a list view control’s parent window about the start of label editing for an item. This notification message is sent in the form of a WM_NOTIFY message.

LVN_BEGINLABELEDIT 

pdi = (LV_DISPINFO FAR *) lParam; 

 

Parameters

pdi
Pointer to an LV_DISPINFO structure. The item member of this structure is an LV_ITEM structure whose iItem member identifies the item being edited.

Return Values

To allow the user to edit the label, return FALSE.

To prevent the user from editing the label, return TRUE.

Remarks

When the user begins editing an item label, the parent window of the list view control receives an LVN_BEGINLABELEDIT notification message. When the user cancels or completes the editing, the parent window receives an LVN_ENDLABELEDIT notification message.

See Also

LV_DISPINFO, LV_ITEM, LVN_ENDLABELEDIT, WM_NOTIFY