?
Solved

keep track item index during CListCtrl::SortItems

Posted on 2000-02-28
1
Medium Priority
?
219 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 150 total points
ID: 2567212
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses
Course of the Month13 days, 14 hours left to enroll

807 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