Jump to content
  • Advertisement


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


Listview control...how to add items?!

This topic is 6089 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
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

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!