Click here to Skip to main content
15,891,645 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Vector List Pin
GameDesignerXIX3-Aug-06 16:58
GameDesignerXIX3-Aug-06 16:58 
GeneralRe: Vector List Pin
Christian Graus3-Aug-06 17:05
protectorChristian Graus3-Aug-06 17:05 
AnswerRe: Vector List [modified] Pin
John M. Drescher3-Aug-06 16:51
John M. Drescher3-Aug-06 16:51 
GeneralRe: Vector List Pin
GameDesignerXIX3-Aug-06 16:52
GameDesignerXIX3-Aug-06 16:52 
AnswerRe: [Message Deleted] Pin
ThatsAlok3-Aug-06 17:57
ThatsAlok3-Aug-06 17:57 
GeneralRe: [Message Deleted] Pin
Christian Graus3-Aug-06 18:11
protectorChristian Graus3-Aug-06 18:11 
GeneralRe: [Message Deleted] Pin
ThatsAlok3-Aug-06 23:21
ThatsAlok3-Aug-06 23:21 
QuestionListCtrl Pin
thathvamsi3-Aug-06 16:23
thathvamsi3-Aug-06 16: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 16:45
Steve Echols3-Aug-06 16:45 
GeneralRe: ListCtrl Pin
thathvamsi3-Aug-06 17:20
thathvamsi3-Aug-06 17:20 
GeneralRe: ListCtrl Pin
Steve Echols3-Aug-06 17:25
Steve Echols3-Aug-06 17:25 
GeneralRe: ListCtrl Pin
thathvamsi3-Aug-06 17:46
thathvamsi3-Aug-06 17:46 
GeneralRe: ListCtrl Pin
Steve Echols3-Aug-06 17:52
Steve Echols3-Aug-06 17:52 
GeneralRe: ListCtrl Pin
thathvamsi3-Aug-06 18:00
thathvamsi3-Aug-06 18:00 
GeneralRe: ListCtrl Pin
Steve Echols3-Aug-06 18:04
Steve Echols3-Aug-06 18:04 
GeneralRe: ListCtrl Pin
Hamid_RT3-Aug-06 22:48
Hamid_RT3-Aug-06 22:48 
Questionvariable Pin
With_problem3-Aug-06 16:19
With_problem3-Aug-06 16:19 
AnswerRe: variable Pin
Christian Graus3-Aug-06 17:06
protectorChristian Graus3-Aug-06 17:06 
GeneralRe: variable Pin
With_problem3-Aug-06 17:31
With_problem3-Aug-06 17:31 
GeneralRe: variable Pin
Christian Graus3-Aug-06 18:06
protectorChristian Graus3-Aug-06 18:06 
AnswerRe: variable Pin
Hamid_RT4-Aug-06 8:05
Hamid_RT4-Aug-06 8:05 
QuestionCyclical References HELP! Pin
Jethro633-Aug-06 16:09
Jethro633-Aug-06 16:09 
AnswerRe: Cyclical References HELP! Pin
Christian Graus3-Aug-06 16:17
protectorChristian Graus3-Aug-06 16:17 
AnswerRe: Cyclical References HELP! Pin
sambhu_prasad3-Aug-06 19:55
sambhu_prasad3-Aug-06 19:55 
QuestionDelete all files in a folder Pin
Nacho Chip3-Aug-06 13:29
Nacho Chip3-Aug-06 13: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.