Click here to Skip to main content
15,924,452 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralProblem with list control Pin
zhaopi15-Aug-05 22:26
zhaopi15-Aug-05 22:26 
GeneralRe: Problem with list control Pin
Rage15-Aug-05 23:16
professionalRage15-Aug-05 23:16 
GeneralRe: Problem with list control Pin
Rage15-Aug-05 23:32
professionalRage15-Aug-05 23:32 
GeneralRe: Problem with list control Pin
zhaopi16-Aug-05 0:42
zhaopi16-Aug-05 0:42 
GeneralRe: Problem with list control Pin
Rage16-Aug-05 2:38
professionalRage16-Aug-05 2:38 
GeneralRe: Problem with list control Pin
David Crow16-Aug-05 4:23
David Crow16-Aug-05 4:23 
GeneralRe: Problem with list control Pin
zhaopi16-Aug-05 15:42
zhaopi16-Aug-05 15:42 
GeneralRe: Problem with list control Pin
Rage16-Aug-05 20:58
professionalRage16-Aug-05 20:58 
I think the difference is that David uses the index returned by InsertItem to access the associated subitems, whereas you use the loop index, which is then not necessarily equal to the inserted Item index. D'Oh! | :doh: Meaning if loop index is 3, and inserted Item gets index 2, you will then modify subitem of Item with index 3 instead of 2. Is this clear Unsure | :~ ?

~RaGE();
Generalsave/open in text Pin
cell5115-Aug-05 22:03
cell5115-Aug-05 22:03 
GeneralRe: save/open in text Pin
toxcct15-Aug-05 22:39
toxcct15-Aug-05 22:39 
Questioncan STL process wchar_t? Pin
xiaohe52115-Aug-05 21:58
xiaohe52115-Aug-05 21:58 
AnswerRe: can STL process wchar_t? Pin
mark novak16-Aug-05 0:22
mark novak16-Aug-05 0:22 
AnswerRe: can STL process wchar_t? Pin
4apai16-Aug-05 0:52
4apai16-Aug-05 0:52 
GeneralCreation DIME-envelope in C++ Pin
Ptmk15-Aug-05 21:36
Ptmk15-Aug-05 21:36 
GeneralRe: Creation DIME-envelope in C++ Pin
Ptmk16-Aug-05 3:16
Ptmk16-Aug-05 3:16 
QuestionHow to make my program run when my computer boots. Pin
pantao55115-Aug-05 21:24
pantao55115-Aug-05 21:24 
AnswerRe: How to make my program run when my computer boots. Pin
Weiye Chen15-Aug-05 21:30
Weiye Chen15-Aug-05 21:30 
AnswerRe: How to make my program run when my computer boots. Pin
ThatsAlok16-Aug-05 1:13
ThatsAlok16-Aug-05 1:13 
GeneralSolve error Pin
Member 216100415-Aug-05 21:17
Member 216100415-Aug-05 21:17 
GeneralRe: Solve error Pin
Abebe15-Aug-05 22:23
Abebe15-Aug-05 22:23 
GeneralRe: Solve error Pin
Member 216100415-Aug-05 23:21
Member 216100415-Aug-05 23:21 
GeneralRe: Solve error Pin
toxcct16-Aug-05 0:22
toxcct16-Aug-05 0:22 
QuestionOPENFILENAME.lpstrFile return encoding? Pin
misterbear15-Aug-05 20:29
misterbear15-Aug-05 20:29 
AnswerRe: OPENFILENAME.lpstrFile return encoding? Pin
Christian Graus15-Aug-05 20:30
protectorChristian Graus15-Aug-05 20:30 
GeneralConvert VB code to VC++ Pin
lmarcelo15-Aug-05 17:18
lmarcelo15-Aug-05 17:18 

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.