keep track item index during CListCtrl::SortItems

is it possible to get the all item indices within the SortItems function so that i can use it to do updating of individual item directly without performing item searching.
swtang72Asked:
Who is Participating?
 
RONSLOWConnect With a Mentor Commented:
I don't understand what you mean.

Do you mean you need to know the original position of the items before the sort was done?

Better to record info like that in the lParam attached to each item.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.