|
-
July 7th, 1999, 10:03 AM
#1
Sorting in ListView Control
I want to sort a listview control by clicking a column header. What I did was that I used the macro ListView_SortItems(hwnd, pfnCompare, lParamSort) when a notification for header click was received. Also I wrote my own compare as Compare(lParam1, lParam2, lParamSort). The problem is that every time the Compare function gets called, it gets two NULL parameters for the first two parameters. Does anybody have some hint for this?
Thanks,
Yimin
[email protected]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|