The LVM_GETEDITCONTROL message retrieves the handle to the edit control being used to edit a list view item’s text. You can send this message explicitly or by using the ListView_GetEditControl macro.
LVM_GETEDITCONTROL wParam = 0; lParam = 0;
Returns the handle to the edit control if successful or NULL otherwise.
If no label is being edited, the return value is NULL. The edit control is not created until after the LVN_BEGINLABELEDIT notification message is sent.
When the user completes or cancels editing, the edit control is destroyed and the handle is no longer valid. You can safely subclass the edit control, but you should not destroy it. To cancel editing, you can send the list view control a WM_CANCELMODE message.
The list view item being edited is the currently focused item ¾ that is, the item in the focused state. To find an item based on its state, use the LVM_GETNEXTITEM message.
ListView_GetEditControl, LVN_BEGINLABELEDIT, LVM_GETNEXTITEM, WM_CANCELMODE
file: /Techref/os/win/api/win32/mess/src/msg12_1.htm, 1KB, , updated: 2000/4/7 11:20, local time: 2024/11/23 21:38,
3.135.214.175: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://sxlist.com/techref/os/win/api/win32/mess/src/msg12_1.htm"> LVM_GETEDITCONTROL</A> |
Did you find what you needed? |
Welcome to sxlist.com!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! |
.