You guys have seen that the RegEdit.exe does not have the LVS_EDITLABELS style in the value explorer, maybe not explicitly because if you click on a value and after a second click again it wouldnt let you rename the value, but you have to press F2 or right click -> rename. how can do something like that with a list view? Can anybody help please?
at first styles can be changed at runtime.
at second there is a subclassing technic with child editbox to edit any cell of listview.
at second there is a subclassing technic with child editbox to edit any cell of listview.
If you don't want the items to be edit by left-clicking on them, just make sure you do not include the LVS_EDITLABELS style when creating the ListView control. Then, at run time, you can edit any item at any time by sending the LVM_EDITLABEL message to the ListView control. Have a look at the Win32 help or MSDN.
Regards,
Ramon
Regards,
Ramon
hell yeah, LVM_EDITLABEL, that's what i wanted. thanks guys