Click here to Skip to main content
15,885,757 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: CListCtrl Pin
CPallini20-May-10 3:02
mveCPallini20-May-10 3:02 
GeneralRe: CListCtrl Pin
Sakhalean20-May-10 3:38
Sakhalean20-May-10 3:38 
GeneralRe: CListCtrl Pin
josda100020-May-10 9:29
josda100020-May-10 9:29 
GeneralRe: CListCtrl Pin
Sakhalean21-May-10 2:41
Sakhalean21-May-10 2:41 
GeneralRe: CListCtrl Pin
josda100021-May-10 3:36
josda100021-May-10 3:36 
GeneralRe: CListCtrl Pin
josda100021-May-10 3:41
josda100021-May-10 3:41 
AnswerRe: CListCtrl Pin
David Crow20-May-10 9:54
David Crow20-May-10 9:54 
GeneralRe: CListCtrl Pin
josda100020-May-10 10:09
josda100020-May-10 10:09 
He was having a problem with the column. Indexing for columns is the second argument for SetItemText.

When inserting an item, the item text defaults to column 0 (first column).

Setting item text is then indexed in the second argument, so the first function call to SetItemText is correct (index number 1). The second function call was incorrect, because there are only 3 columns, and there is no "column 3".

His problem was that he used index 3.
GeneralRe: CListCtrl Pin
David Crow20-May-10 10:27
David Crow20-May-10 10:27 
GeneralRe: CListCtrl Pin
josda100020-May-10 10:37
josda100020-May-10 10:37 
QuestionLinker Error Pin
john563220-May-10 2:20
john563220-May-10 2:20 
QuestionRe: Linker Error Pin
Chris Meech20-May-10 2:43
Chris Meech20-May-10 2:43 
AnswerRe: Linker Error Pin
john563220-May-10 2:46
john563220-May-10 2:46 
GeneralRe: Linker Error Pin
Chris Meech20-May-10 2:58
Chris Meech20-May-10 2:58 
GeneralRe: Linker Error Pin
john563220-May-10 3:09
john563220-May-10 3:09 
QuestionRe: Linker Error Pin
Chris Meech20-May-10 3:12
Chris Meech20-May-10 3:12 
AnswerRe: Linker Error Pin
john563220-May-10 3:14
john563220-May-10 3:14 
AnswerRe: Linker Error Pin
Aescleal20-May-10 3:26
Aescleal20-May-10 3:26 
QuestionRe: Linker Error Pin
Chris Meech20-May-10 3:31
Chris Meech20-May-10 3:31 
AnswerRe: Linker Error Pin
Aescleal20-May-10 3:19
Aescleal20-May-10 3:19 
GeneralRe: Linker Error Pin
john563220-May-10 3:41
john563220-May-10 3:41 
QuestionNot getting Excel::_ApplicationPtr from WindowsPtr. Pin
KTTransfer20-May-10 2:08
KTTransfer20-May-10 2:08 
QuestionTough one: modify screen contents on the fly Pin
y.a.k20-May-10 0:50
y.a.k20-May-10 0:50 
AnswerRe: Tough one: modify screen contents on the fly Pin
CPallini20-May-10 1:47
mveCPallini20-May-10 1:47 
QuestionCStatic Background color Pin
Anu_Bala19-May-10 23:34
Anu_Bala19-May-10 23:34 

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.