please dont rip this site Prev Next


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


ptvdi = (TV_DISPINFO FAR *) lParam 



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.


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.

See Also


file: /Techref/os/win/api/win32/mess/src/msg21_11.htm, 2KB, , updated: 2000/4/7 11:20, local time: 2024/2/23 07:35,

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!


After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.

Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?


Welcome to!


Welcome to!