Virtual CMFCListCtrl select same item after sorting

  • Thread starter Thread starter sgrm123
  • Start date Start date
S

sgrm123

Guest
Hi,

I am using CMFCListCtrl with LVS_OWNERDATA.

After sorting I want to select the item with same data

for e.g

In this list control 3rd item is selected.

1342688.png

Now I sorted the first column by header clicking, now the selected item is 3rd row.But I want to select the item based on data for.e.g before sorting the selected item has label value as "startup" and the address as "0x00000060".

1342702.png

You can get sample application for virtual list control with sorting from this link MFC Virtual List Control


Please help me to achieve my requirement.

Continue reading...
 
Back
Top