Listview control...how to add items?!

Started by
1 comment, last by Impz0r 22 years, 5 months ago
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
Stay Evil & Ugly!
Advertisement
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
hi,

Thank you Invader X, my fault was to use the wrong main item index, i don''t know why

Mfg Impz0r
Stay Evil & Ugly!

This topic is closed to new replies.

Advertisement