The LVN_ENDLABELEDIT notification message notifies a list 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.
LVN_ENDLABELEDIT pdi = (LV_DISPINFO FAR *) lParam;
If the user cancels editing, the pszText member of the LV_ITEM structure is NULL; otherwise, pszText is a pointer to the edited text.
If the pszText member of the LV_ITEM structure 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 of the LV_ITEM structure is NULL, the return value is ignored.
When the user begins editing an item label, the parent window of the list view control receives an LVN_BEGINLABELEDIT notification message. When the user cancels or completes the editing, the parent window receives an LVN_ENDLABELEDIT notification message.
The pszText member of the LV_ITEM structure contained within the LV_DISPINFO structure pointed to by pdi contains a valid value when the LVN_ENDLABELEDIT message is sent, regardless of whether the LVIF_TEXT flag is set in the mask member of the LV_ITEM structure. Note that NULL is a valid value for pszText, indicating the cancellation of the label editing operation.
LVN_BEGINLABELEDIT, LV_DISPINFO, LV_ITEM, WM_NOTIFY
|file: /Techref/os/win/api/win32/mess/src/msg13_16.htm, 2KB, , updated: 2000/4/7 12:20, local time: 2022/5/17 00:45,
|©2022 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://www.piclist.com/techref/os/win/api/win32/mess/src/msg13_16.htm"> LVN_ENDLABELEDIT</A>
|Did you find what you needed?|
PICList 2022 contributors:
o List host: MIT, Site host massmind.org, Top posters @20220517
* Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
Welcome to www.piclist.com!