Click here to Skip to main content
15,919,931 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Emboldened Items in a CListBox Pin
«_Superman_»2-Dec-09 6:26
professional«_Superman_»2-Dec-09 6:26 
GeneralRe: Emboldened Items in a CListBox Pin
maycockt2-Dec-09 20:40
maycockt2-Dec-09 20:40 
QuestionCapture desktop WITHOUT active window Pin
Test1231242-Dec-09 4:19
Test1231242-Dec-09 4:19 
AnswerRe: Capture desktop WITHOUT active window Pin
loyal ginger2-Dec-09 5:40
loyal ginger2-Dec-09 5:40 
AnswerRe: Capture desktop WITHOUT active window Pin
«_Superman_»2-Dec-09 6:29
professional«_Superman_»2-Dec-09 6:29 
QuestionCListBox Tab Spacing Pin
maycockt2-Dec-09 2:59
maycockt2-Dec-09 2:59 
AnswerRe: CListBox Tab Spacing Pin
Rajesh R Subramanian2-Dec-09 3:02
professionalRajesh R Subramanian2-Dec-09 3:02 
GeneralRe: CListBox Tab Spacing Pin
maycockt2-Dec-09 3:07
maycockt2-Dec-09 3:07 
GeneralRe: CListBox Tab Spacing Pin
maycockt2-Dec-09 3:19
maycockt2-Dec-09 3:19 
Questionset bits on binary images Pin
franckesh2-Dec-09 2:24
franckesh2-Dec-09 2:24 
AnswerRe: set bits on binary images Pin
Richard MacCutchan2-Dec-09 2:36
mveRichard MacCutchan2-Dec-09 2:36 
GeneralRe: set bits on binary images Pin
franckesh2-Dec-09 2:50
franckesh2-Dec-09 2:50 
GeneralRe: set bits on binary images Pin
Richard MacCutchan2-Dec-09 3:21
mveRichard MacCutchan2-Dec-09 3:21 
AnswerRe: set bits on binary images Pin
CPallini2-Dec-09 8:10
mveCPallini2-Dec-09 8:10 
Questionstatic library dependency walker available? Pin
Chesnokov Yuriy2-Dec-09 1:11
professionalChesnokov Yuriy2-Dec-09 1:11 
AnswerRe: static library dependency walker available? Pin
Adam Roderick J2-Dec-09 2:02
Adam Roderick J2-Dec-09 2:02 
QuestionRe: static library dependency walker available? Pin
Chesnokov Yuriy2-Dec-09 2:10
professionalChesnokov Yuriy2-Dec-09 2:10 
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. <

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.