please dont rip this site Prev Next

LVN_ENDLABELEDIT Overview  Group

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; 

 

Parameters

pdi
Pointer to an LV_DISPINFO structure. The item member of this structure is an LV_ITEM structure whose iItem member identifies the item being edited.

If the user cancels editing, the pszText member of the LV_ITEM structure is NULL; otherwise, pszText is a pointer to the edited text.

Return Values

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.

Remarks

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.

See Also

LVN_BEGINLABELEDIT, LV_DISPINFO, LV_ITEM, WM_NOTIFY


file: /Techref/os/win/api/win32/mess/src/msg13_16.htm, 2KB, , updated: 2000/4/7 11:20, local time: 2024/11/26 20:54,
TOP NEW HELP FIND: 
3.144.41.200: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?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://sxlist.com/Techref/os/win/api/win32/mess/src/msg13_16.htm"> LVN_ENDLABELEDIT</A>

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 sxlist.com!


Site supported by
sales, advertizing,
& kind contributors
just like you!

Please don't rip/copy
(here's why

Copies of the site on CD
are available at minimal cost.
 

Welcome to sxlist.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .