简单的CListCtrl问题? [英] Simple CListCtrl Question?
本文介绍了简单的CListCtrl问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
如果我有一个定义了一组组的CListCtrl,是否可以使用标准的排序机制对这些组中的项目进行排序?还是仅仅因为有群组而使我无法使用带有PFNLVCOMPARE函数的SortItems?
当我使用PFNLVCOMPARE函数调用SortItems时,我没有看到项目位置的任何变化,所以我想知道我是否错过了某些事情....
在此先感谢!
Hi All,
If I have a CListCtrl with a set of groups defined, can I use the standard sort mechanism to sort items in the groups? Or does simply having groups stop me from being able to use SortItems with a PFNLVCOMPARE function?
I am not seeing any changes to the item positions when I call SortItems with my PFNLVCOMPARE function, so I''m wondering if I''ve missed something....
Thanks in advance!
推荐答案
我最近遇到了同一问题.似乎List View
(基于CListCtrl
的构建)无法自动在组内进行排序.但是,在此处即可获得帮助 [
I came across the same issue recently. It seems thatList View
s (on whichCListCtrl
is built) cannot automatically sort within groups. However, help is at hand here[^].
这篇关于简单的CListCtrl问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文