Click here to Skip to main content
15,921,959 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: having problem terminating a thread Pin
led mike2-Aug-07 11:01
led mike2-Aug-07 11:01 
GeneralRe: having problem terminating a thread Pin
alberthyc2-Aug-07 11:09
alberthyc2-Aug-07 11:09 
GeneralRe: having problem terminating a thread Pin
Tony Hill2-Aug-07 10:56
professionalTony Hill2-Aug-07 10:56 
GeneralRe: having problem terminating a thread Pin
alberthyc2-Aug-07 11:07
alberthyc2-Aug-07 11:07 
GeneralRe: having problem terminating a thread Pin
Randor 2-Aug-07 11:07
professional Randor 2-Aug-07 11:07 
GeneralRe: having problem terminating a thread Pin
alberthyc2-Aug-07 11:13
alberthyc2-Aug-07 11:13 
AnswerRe: having problem terminating a thread Pin
David Crow2-Aug-07 10:46
David Crow2-Aug-07 10:46 
QuestionDiffrenece between executing a program within IDE and Windows Explorer Pin
Joseph Marzbani2-Aug-07 8:41
Joseph Marzbani2-Aug-07 8:41 
AnswerRe: Diffrenece between executing a program within IDE and Windows Explorer Pin
Randor 2-Aug-07 10:44
professional Randor 2-Aug-07 10:44 
QuestionRe: Diffrenece between executing a program within IDE and Windows Explorer Pin
David Crow2-Aug-07 10:47
David Crow2-Aug-07 10:47 
QuestionReport view list control drawing difference when manifest file used Pin
Keith Worden2-Aug-07 6:29
Keith Worden2-Aug-07 6:29 
QuestionMFC: CListCtrl derived class, "creportctrl" tutorial problem Pin
Sternocera2-Aug-07 5:15
Sternocera2-Aug-07 5:15 
QuestionRe: MFC: CListCtrl derived class, "creportctrl" tutorial problem Pin
David Crow2-Aug-07 5:17
David Crow2-Aug-07 5:17 
AnswerRe: MFC: CListCtrl derived class, "creportctrl" tutorial problem Pin
Sternocera2-Aug-07 5:19
Sternocera2-Aug-07 5:19 
QuestionRe: MFC: CListCtrl derived class, "creportctrl" tutorial problem Pin
David Crow2-Aug-07 5:27
David Crow2-Aug-07 5:27 
AnswerRe: MFC: CListCtrl derived class, "creportctrl" tutorial problem Pin
Sternocera2-Aug-07 5:29
Sternocera2-Aug-07 5:29 
AnswerRe: MFC: CListCtrl derived class, "creportctrl" tutorial problem Pin
led mike2-Aug-07 7:15
led mike2-Aug-07 7:15 
GeneralRe: MFC: CListCtrl derived class, "creportctrl" tutorial problem Pin
Sternocera2-Aug-07 7:21
Sternocera2-Aug-07 7:21 
GeneralRe: MFC: CListCtrl derived class, "creportctrl" tutorial problem Pin
led mike2-Aug-07 7:31
led mike2-Aug-07 7:31 
GeneralRe: MFC: CListCtrl derived class, "creportctrl" tutorial problem Pin
Sternocera2-Aug-07 7:35
Sternocera2-Aug-07 7:35 
GeneralRe: MFC: CListCtrl derived class, "creportctrl" tutorial problem Pin
David Crow2-Aug-07 8:05
David Crow2-Aug-07 8:05 
GeneralRe: MFC: CListCtrl derived class, "creportctrl" tutorial problem Pin
Sternocera2-Aug-07 10:08
Sternocera2-Aug-07 10:08 
GeneralRe: MFC: CListCtrl derived class, "creportctrl" tutorial problem Pin
David Crow2-Aug-07 10:44
David Crow2-Aug-07 10:44 
GeneralRe: MFC: CListCtrl derived class, "creportctrl" tutorial problem Pin
Sternocera2-Aug-07 22:13
Sternocera2-Aug-07 22:13 
GeneralRe: MFC: CListCtrl derived class, "creportctrl" tutorial problem Pin
David Crow3-Aug-07 2:43
David Crow3-Aug-07 2:43 
Sternocera wrote:
There are 3 columns


But you were calling InsertItem() with only one variable argument, hence the 1 that I supplied. If you wanted to call it with three arguments, you would need to do:

SampleReportCtrl.InsertItem(0, 3, _T("test1"), _T("test2"), _T("test3"));
You would obviously need to change the method's signature for this to work properly. Your solution of making the last argument 0 is probably a bit cleaner, however.


"A good athlete is the result of a good and worthy opponent." - David Crow

"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne


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.