TVN_BEGINLABELEDIT notification code
Notifies a tree-view control's parent window about the start of label editing for an item. This notification code is sent in the form of a WM_NOTIFY message.
Returns TRUE to cancel label editing.
When label editing begins, an edit control is created but not positioned or displayed. Before it is displayed, the tree-view control sends its parent window a TVN_BEGINLABELEDIT notification code.
To customize label editing, implement a handler for TVN_BEGINLABELEDIT and have it send a TVM_GETEDITCONTROL message to the tree-view control. If a label is being edited, the return value will be a handle to the edit control. Use this handle to customize the edit control by sending the usual EM_XXX messages.
When the user cancels or completes the editing, the parent window receives a TVN_ENDLABELEDIT notification code.
Minimum supported client
|Windows 2000 Professional [desktop apps only]|
Minimum supported server
|Windows 2000 Server [desktop apps only]|
Unicode and ANSI names
|TVN_BEGINLABELEDITW (Unicode) and TVN_BEGINLABELEDITA (ANSI)|
Build date: 10/27/2012