Solved

keep track item index during CListCtrl::SortItems

Posted on 2000-02-28
1
211 Views
Last Modified: 2013-11-20
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.
0
Comment
Question by:swtang72
1 Comment
 
LVL 10

Accepted Solution

by:
RONSLOW earned 50 total points
Comment Utility
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

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Folder Comparison 12 52
string initialization in java 11 102
Use of condition with 'serial' in ansible 2 35
Change to event 1 71
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now