Click here to Skip to main content
14,430,126 members

C / C++ / MFC

 
GeneralRe: Vector List Pin
GameDesignerXIX3-Aug-06 17:58
MemberGameDesignerXIX3-Aug-06 17:58 
GeneralRe: Vector List Pin
Christian Graus3-Aug-06 18:05
mveChristian Graus3-Aug-06 18:05 
AnswerRe: Vector List [modified] Pin
John M. Drescher3-Aug-06 17:51
MemberJohn M. Drescher3-Aug-06 17:51 
GeneralRe: Vector List Pin
GameDesignerXIX3-Aug-06 17:52
MemberGameDesignerXIX3-Aug-06 17:52 
AnswerRe: [Message Deleted] Pin
ThatsAlok3-Aug-06 18:57
MemberThatsAlok3-Aug-06 18:57 
GeneralRe: [Message Deleted] Pin
Christian Graus3-Aug-06 19:11
mveChristian Graus3-Aug-06 19:11 
GeneralRe: [Message Deleted] Pin
ThatsAlok4-Aug-06 0:21
MemberThatsAlok4-Aug-06 0:21 
QuestionListCtrl Pin
thathvamsi3-Aug-06 17:23
Memberthathvamsi3-Aug-06 17:23 
Hey all,
thanks to all for ur response.

iam trying to create a listcontrol with 2 columns
I do the following inside OnInitDialog()
m_List1.InsertColumn(0,"column1");
m_List1.InsertColumn(1,"column2");

but how do i insert values. ie., Column1 should have the names like
alex
bob
Cathy
...
...
Column2 their age.
5
12
13
..
..
how do i add these items to the respective columns.
I know I should use InsertItem.

But where in code do I put it ..inside which function.?
Also how to indicate which column it has to be inserted?

Thanks in advance.




AnswerRe: ListCtrl Pin
Steve Echols3-Aug-06 17:45
MemberSteve Echols3-Aug-06 17:45 
GeneralRe: ListCtrl Pin
thathvamsi3-Aug-06 18:20
Memberthathvamsi3-Aug-06 18:20 
GeneralRe: ListCtrl Pin
Steve Echols3-Aug-06 18:25
MemberSteve Echols3-Aug-06 18:25 
GeneralRe: ListCtrl Pin
thathvamsi3-Aug-06 18:46
Memberthathvamsi3-Aug-06 18:46 
GeneralRe: ListCtrl Pin
Steve Echols3-Aug-06 18:52
MemberSteve Echols3-Aug-06 18:52 
GeneralRe: ListCtrl Pin
thathvamsi3-Aug-06 19:00
Memberthathvamsi3-Aug-06 19:00 
GeneralRe: ListCtrl Pin
Steve Echols3-Aug-06 19:04
MemberSteve Echols3-Aug-06 19:04 
GeneralRe: ListCtrl Pin
Hamid_RT3-Aug-06 23:48
MemberHamid_RT3-Aug-06 23:48 
Questionvariable Pin
With_problem3-Aug-06 17:19
MemberWith_problem3-Aug-06 17:19 
AnswerRe: variable Pin
Christian Graus3-Aug-06 18:06
mveChristian Graus3-Aug-06 18:06 
GeneralRe: variable Pin
With_problem3-Aug-06 18:31
MemberWith_problem3-Aug-06 18:31 
GeneralRe: variable Pin
Christian Graus3-Aug-06 19:06
mveChristian Graus3-Aug-06 19:06 
AnswerRe: variable Pin
Hamid_RT4-Aug-06 9:05
MemberHamid_RT4-Aug-06 9:05 
QuestionCyclical References HELP! Pin
Jethro633-Aug-06 17:09
MemberJethro633-Aug-06 17:09 
AnswerRe: Cyclical References HELP! Pin
Christian Graus3-Aug-06 17:17
mveChristian Graus3-Aug-06 17:17 
AnswerRe: Cyclical References HELP! Pin
sambhu_prasad3-Aug-06 20:55
Membersambhu_prasad3-Aug-06 20:55 
QuestionDelete all files in a folder Pin
Nacho Chip3-Aug-06 14:29
MemberNacho Chip3-Aug-06 14:29 

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.