简体   繁体   中英

Editing listview control item

如何通过双击添加或编辑列表视图项?

Two things. First, you have to create the List view control with the LVS_EDITLABELS style, as shown in Using List-View Controls .

Then, when you want to edit the label, you send the LVM_EDITLABEL message to the focused label.

Be sure to handle the LVN_ENDLABELEDIT message in the parent.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM