Click here to Skip to main content
15,895,084 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: static library dependency walker available? Pin
Saurabh.Garg2-Dec-09 2:08
Saurabh.Garg2-Dec-09 2:08 
AnswerRe: static library dependency walker available? Pin
Richard MacCutchan2-Dec-09 2:40
mveRichard MacCutchan2-Dec-09 2:40 
Questionusing com Pin
prithaa2-Dec-09 0:49
prithaa2-Dec-09 0:49 
AnswerRe: using com Pin
Richard MacCutchan2-Dec-09 1:35
mveRichard MacCutchan2-Dec-09 1:35 
QuestionRe: using com Pin
Maximilien2-Dec-09 2:21
Maximilien2-Dec-09 2:21 
AnswerRe: using com Pin
David Crow2-Dec-09 2:56
David Crow2-Dec-09 2:56 
AnswerRe: using com Pin
KarstenK2-Dec-09 2:57
mveKarstenK2-Dec-09 2:57 
QuestionSetItemText in CListCtrl can't change the first column. Pin
Code-o-mat1-Dec-09 23:13
Code-o-mat1-Dec-09 23:13 
Hey folks!

I have a CListCtrl which is filled with several calls to InsertItem and then later updated by using CListCtrl::SetItemText[^]. This works fine except for the first column, if i do this:
list.SetItemText(rowIndex, 0, "Hello World");

nothing happens, the method returns with nonzero indicating success, GetLastError is zero, but the text is not changed. It works for any other column, so e.g:
list.SetItemText(rowIndex, 1, "Hello World");

works fine. I would like to avoid having to insert new items and deleting old ones when there's an update just because the first column needs updating too. Any ideas why this is happening? I googled some and found similar things but nothing exactly the same or really helpfull.

Thanks for any help in advance.

> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Sometimes you just have to hate coding to do it well. <

AnswerRe: SetItemText in CListCtrl can't change the first column. Pin
Adam Roderick J1-Dec-09 23:22
Adam Roderick J1-Dec-09 23:22 
GeneralRe: SetItemText in CListCtrl can't change the first column. Pin
Code-o-mat1-Dec-09 23:34
Code-o-mat1-Dec-09 23:34 
GeneralRe: SetItemText in CListCtrl can't change the first column. Pin
vasu_sri2-Dec-09 0:19
vasu_sri2-Dec-09 0:19 
QuestionConvert pointer to zlib stream to string? Pin
o m n i1-Dec-09 23:03
o m n i1-Dec-09 23:03 
QuestionRe: Convert pointer to zlib stream to string? Pin
Adam Roderick J1-Dec-09 23:10
Adam Roderick J1-Dec-09 23:10 
AnswerRe: Convert pointer to zlib stream to string? Pin
o m n i1-Dec-09 23:14
o m n i1-Dec-09 23:14 
GeneralRe: Convert pointer to zlib stream to string? Pin
Adam Roderick J2-Dec-09 0:52
Adam Roderick J2-Dec-09 0:52 
AnswerRe: Convert pointer to zlib stream to string? Pin
Richard MacCutchan2-Dec-09 1:46
mveRichard MacCutchan2-Dec-09 1:46 
QuestionThe Value is not updated when Passing a char array by reference Pin
manoharbalu1-Dec-09 22:53
manoharbalu1-Dec-09 22:53 
AnswerRe: The Value is not updated when Passing a char array by reference Pin
Adam Roderick J1-Dec-09 23:13
Adam Roderick J1-Dec-09 23:13 
AnswerRe: The Value is not updated when Passing a char array by reference Pin
KingsGambit1-Dec-09 23:16
KingsGambit1-Dec-09 23:16 
AnswerRe: The Value is not updated when Passing a char array by reference Pin
Richard MacCutchan2-Dec-09 1:49
mveRichard MacCutchan2-Dec-09 1:49 
AnswerRe: The Value is not updated when Passing a char array by reference Pin
loyal ginger2-Dec-09 3:30
loyal ginger2-Dec-09 3:30 
QuestionCListCtrl Pin
Paulraj G1-Dec-09 21:55
Paulraj G1-Dec-09 21:55 
AnswerRe: CListCtrl Pin
wangningyu1-Dec-09 22:02
wangningyu1-Dec-09 22:02 
GeneralRe: CListCtrl Pin
Cedric Moonen1-Dec-09 22:07
Cedric Moonen1-Dec-09 22:07 
AnswerRe: CListCtrl Pin
Cedric Moonen1-Dec-09 22:07
Cedric Moonen1-Dec-09 22:07 

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.