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.
TVN_ENDLABELEDIT ptvdi = (TV_DISPINFO FAR *) lParam
If label editing was canceled, the pszText member of the TV_ITEM structure is NULL; otherwise, pszText is a pointer to the edited text.
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.
WM_NOTIFY, TV_DISPINFO, TV_ITEM
file: /Techref/os/win/api/win32/mess/src/msg21_11.htm, 2KB, , updated: 2000/4/7 11:20, local time: 2024/11/14 04:48,
18.218.163.82:LOG IN
|
©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? <A HREF="http://linistepper.com/techref/os/win/api/win32/mess/src/msg21_11.htm"> TVN_ENDLABELEDIT</A> |
Did you find what you needed? |