I am looking to get the definitive new index of an item when LVM_SORTITEMSEX completed its job. I'd like to get some notification like LVN_ITEMINDEXCHANGED(int indexOld, int indexNew).
I don't think windows lets you know such information in the form of a notification right? I have noticed that none of the LVN_INSERT/LVN_DELETE/LVN_ITEMCHANGING/LVN_ITEMCHANGED gets received while Windows sorts the items so I guess that won't be of any help.
I guess I might have to keep track of the index changes myself in the compare function?