Archived

This topic is now archived and is closed to further replies.

Colin Jeanne

List Control

Recommended Posts

Colin Jeanne    1114
MSDN isn''t helping much with this... I have a list control and know how to set the text for the first column of an element but dont know how to add the text for any other column in the list. How do ya do it? I was thinking I have to use the iSubItem member of the LVITEM struct since MSDN wasn''t clear about that but it doesn''t work so if you could tell me what that member is for too, that would be great otherwise it''ll just bug me. Invader X Invader''s Realm

Share this post


Link to post
Share on other sites
Fragmo    187
yes, you need to use the subitem. pass in the zero based index for the list item, then subitem will be the 1 based index of the column you want. i haven''t tried it but that''s how i interpretted msdn''s description.

Share this post


Link to post
Share on other sites