TVN_BEGINLABELEDIT

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

At a Glance

Header file: Commctrl.h
Windows CE versions: 1.0 and later

Syntax

  1. TVN_BEGINLABELEDIT ptvdi = (TV_DISPINFO FAR *) lParam

Parameters

ptvdi

Pointer to an NMTVDISPINFO structure. The item member is a TVITEM structure that contains valid information about the item being edited in the hItem, state, lParam, and pszText members.

Return Values

TRUE cancels label editing.

See Also

NM_TREEVIEW, TV_ITEM, TVM_EDITLABEL, TVN_ENDLABELEDIT, WM_NOTIFY