TVN_ENDLABELEDITTVN_ENDLABELEDIT*
*Contents  *Index  *Topic Contents
*Previous Topic: TVN_DELETEITEM
*Next Topic: TVN_GETDISPINFO

TVN_ENDLABELEDIT


TVN_ENDLABELEDIT 
    ptvdi = (LPNMTVDISPINFO) lParam 

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_NOTIFY message.

ptvdi
Address of an NMTVDISPINFOstructure. The item member of this structure is a TVITEM 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 TVITEM structure is NULL; otherwise, pszText is the address of the edited text.

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

If you specified the LPSTR_TEXTCALLBACK value for this item and the pszText member is non-NULL, your TVN_ENDLABELEDIT handler should copy the text from pszText to your local storage.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.