Languages

Menu
Sites
Language
Add item to Listview

Hi all.

I'm working with listview. I want to add items to listview when user click to a button.

Listview data is contained in a vector (list), when user click to button, I add new object to vector and call __listview->RefreshList(0 , LIST_REFRESH_TYPE_ITEM_ADD);

New item appear but all new items is similar to other (they look like a copy of first item).

Please help me.

Sorry because of my bad English.

Responses

1 Replies
Tuan Anh

Sorry, I found my mistake. First argument of RefreshList in my code is always 0 :(