开发者

Group By and Sort by Column in CMFCListCtrl

I have a derived CMFCListCtrl which I can used group by and sort by fine via a contect menu. However when group by is being used and I select a column to sort by开发者_JAVA技巧 (by clicking on the coloumn header) the arrow changes but the items are not sorted, I don't get my 'onsortby' message triggered either, any ideas? I'm on XP is that the problem. Thanks


I had exactly the same problem when I was using Windows XP on my old computer.

Switching to a new computer with Windows 7 solved this issue. So I can cofirm that it's related to XP.


I think XP may be the problem and that list control grouping requires Vista or higher. How do you have _WIN32_WINNT defined?

There is limited list control grouping available in XP: Codeproject

See Windows Vista Control Enhancements from MSDN Magazine.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜