The TVN_BEGINLABELEDIT notification message notifies a tree-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.
TVN_BEGINLABELEDIT ptvdi = (TV_DISPINFO FAR *) lParam
Returns TRUE to cancel label editing.