The TVN_SETDISPINFO notification message notifies a tree-view control’s parent window that it must update the information it maintains about an item. This notification message is sent in the form of a WM_NOTIFY message.
TVN_SETDISPINFO ptvdi = (TV_DISPINFO FAR *) lParam
No return value.
The system sends this notification message when the user has finished editing the label of an item whose text is set to LPSTR_TEXTCALLBACK. The notification gives the parent window the opportunity to store the new item text.