Click to See Complete Forum and Search --> : ListView edit/view items


firefly2442
April 22nd, 2005, 07:01 PM
How do I edit and view items in a ListView for VC++ .NET? I can add items easily but viewing them seems to be a whole new issue. I'm used to easily viewing them in Visual Basic but it seems to be different here. Does anyone have any quick examples? Thanks. :)

lior6543
April 24th, 2005, 06:48 PM
i'm not sure i understand your question. what do you mean by "view"?
you said you can add items. well, when you add them, you can see them.

if you mean editing subitem, do this:

listview->items->get_item (index)->subItems->get_Item(index)->Text = S"hello";

firefly2442
April 24th, 2005, 07:49 PM
That's it! Thank you very much. :)