Click here to Skip to main content
15,908,906 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionunfamiliar error message box Pin
vanishaa11-Feb-09 18:03
vanishaa11-Feb-09 18:03 
AnswerRe: unfamiliar error message box [modified] Pin
_AnsHUMAN_ 11-Feb-09 18:16
_AnsHUMAN_ 11-Feb-09 18:16 
AnswerRe: unfamiliar error message box Pin
«_Superman_»11-Feb-09 18:24
professional«_Superman_»11-Feb-09 18:24 
JokeRe: unfamiliar error message box Pin
Cedric Moonen11-Feb-09 20:24
Cedric Moonen11-Feb-09 20:24 
QuestionList Control Pin
MsmVc11-Feb-09 17:24
MsmVc11-Feb-09 17:24 
AnswerRe: List Control Pin
_AnsHUMAN_ 11-Feb-09 18:19
_AnsHUMAN_ 11-Feb-09 18:19 
GeneralRe: List Control Pin
MsmVc11-Feb-09 18:24
MsmVc11-Feb-09 18:24 
GeneralRe: List Control Pin
_AnsHUMAN_ 11-Feb-09 18:29
_AnsHUMAN_ 11-Feb-09 18:29 
Start with two loops.
In the first loop pick an item from the list using GetItemData
In the second loop [inside the first loop] iterate through all the items in the list and compare the data for each item with the item of the first loop..
If it's a match mark the item for deletion and delete it using DeleteItem API

You do this until you finish comparison of all the items in the list control.

By the way, it would be better to maintain a vector of items and compare them before inserting them in the list.
Using a map, you can make sure that the items are unique.The value of the key is unique and is used to order the data automatically

You need to google first, if you have "It's urgent please" mentioned in your question.
Wink | ;-) _AnShUmAn_

AnswerRe: List Control Pin
sam_psycho11-Feb-09 18:22
sam_psycho11-Feb-09 18:22 
AnswerRe: List Control Pin
David Crow12-Feb-09 3:11
David Crow12-Feb-09 3:11 
Question[Message Deleted] Pin
Purish Dwivedi11-Feb-09 17:16
Purish Dwivedi11-Feb-09 17:16 
AnswerThe first thing I do in the morning is to REPOST Pin
_AnsHUMAN_ 11-Feb-09 18:21
_AnsHUMAN_ 11-Feb-09 18:21 
GeneralRe: The first thing I do in the morning is to REPOST Pin
Purish Dwivedi11-Feb-09 18:37
Purish Dwivedi11-Feb-09 18:37 
GeneralRe: The first thing I do in the morning is to REPOST Pin
_AnsHUMAN_ 11-Feb-09 18:39
_AnsHUMAN_ 11-Feb-09 18:39 
Answer[Message Deleted] Pin
Purish Dwivedi11-Feb-09 18:42
Purish Dwivedi11-Feb-09 18:42 
GeneralRe: The first thing I do in the morning is to REPOST Pin
_AnsHUMAN_ 11-Feb-09 19:09
_AnsHUMAN_ 11-Feb-09 19:09 
General[Message Deleted] Pin
Purish Dwivedi11-Feb-09 19:23
Purish Dwivedi11-Feb-09 19:23 
GeneralRe: When will u complete my assignment sir? Pin
Cedric Moonen11-Feb-09 20:33
Cedric Moonen11-Feb-09 20:33 
General[Message Deleted] Pin
Purish Dwivedi11-Feb-09 21:49
Purish Dwivedi11-Feb-09 21:49 
GeneralRe: I need help. Pin
Cedric Moonen11-Feb-09 21:59
Cedric Moonen11-Feb-09 21:59 
GeneralRe: When will u complete my assignment sir? Pin
_AnsHUMAN_ 11-Feb-09 20:34
_AnsHUMAN_ 11-Feb-09 20:34 
GeneralWhat about a career change? Pin
CPallini11-Feb-09 21:35
mveCPallini11-Feb-09 21:35 
QuestionHow to get the password in IAS extension dll if ms-chap is used by radius client? Pin
okmnji7951311-Feb-09 16:04
okmnji7951311-Feb-09 16:04 
AnswerRe: How to get the password in IAS extension dll if ms-chap is used by radius client? Pin
Stuart Dootson11-Feb-09 23:23
professionalStuart Dootson11-Feb-09 23:23 
GeneralRe: How to get the password in IAS extension dll if ms-chap is used by radius client? Pin
okmnji7951312-Feb-09 18:43
okmnji7951312-Feb-09 18:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.