Archived

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

Impz0r

Listview control...how to add items?!

Recommended Posts

Impz0r    166
Hi, Did somebody know how i add items and subitems to an Listview (under windows)? I only can add the first item in the report view but not the subitems, i don''t find a way to do this. I where wery happy if somebody can give me an example code snipped or something else. Thanks alot... Mfg Impz0r

Share this post


Link to post
Share on other sites
Colin Jeanne    1114
You add an item with the LVM_INSERTITEM message (or ListView_InsertItem() macro) and add a subitem using the LVM_SETITEMTEXT message (or ListView_SetItemText macro).

MSDN wasn''t very clear on it when I tried to do it either =P

Invader X
Invader''s Realm

Share this post


Link to post
Share on other sites