TVN_ENDLABELEDIT  9Z4BOO 

The TVN_ENDLABELEDIT notification message notifies a tree-view control s parent window about the end of label editing for an item. This notification message is sent in the form of a WM_NOTIFY1MZT7BR message.

TVN_ENDLABELEDIT

ptvdi = (TV_DISPINFO FAR *) lParam

 

Parameters

ptvdi

Pointer to a TV_DISPINFOstructure. The item member of this structure is a TV_ITEM structure whose hItem, lParam, and pszText members contain valid information about the item that was edited.

If label editing was canceled, the pszText member of the TV_ITEM structure is NULL; otherwise, pszText is a pointer to the edited text.

 

Return Values

If the pszText member is non-NULL, return TRUE to set the item s label to the edited text. Return FALSE to reject the edited text and revert to the original label.

If the pszText member is NULL, the return value is ignored.

See Also

WM_NOTIFY, TV_DISPINFO, TV_ITEM