使用vc ++重命名列表视图中的功能 [英] Rename functionality in list view using vc++
本文介绍了使用vc ++重命名列表视图中的功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想知道如何在传统的选择> F2>编辑>输入方式中更改ListView项目的名称。如何使用vc ++在项目上打开那个小的可编辑文本框
我尝试过:
完成列表视图。现在我想在vc ++中包含重命名功能。请帮助我。在此先感谢
i would like to know how can i change the name of a ListView item in the traditional select>F2>edit>enter manner. How can i open that little editable textbox just over the item using vc++
What I have tried:
Done with List view. Now i Want to include rename functionality in vc++.Please assist me. Thanks in Advance
推荐答案
请参阅 CListCtrl :: EditLabel [ ^ ]。
如果你想要一个不同的行为,你必须自己实现它。 CodeProject的一些示例:
编辑子项目列表控制 [ ^ ]
就地编辑ListView子项 [ ^ ]
扩展MFC CListCtrl,用于编辑单个单元格,排序标题等 [ ^ ]
CGridListCtrlEx - 基于CListCtrl的网格控件 [ ^ ]
See CListCtrl::EditLabel[^].
If you want a different behaviour you have to implement it yourself. Some examples from CodeProject:
Editing Sub-Items in List Control[^]
In-place editing of ListView subitems[^]
An Extended MFC CListCtrl to edit individual cells, sort headers, and more[^]
CGridListCtrlEx - Grid Control Based on CListCtrl[^]
这篇关于使用vc ++重命名列表视图中的功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文