Brian Hill wrote:
What about:Scratch the second one, just tried it and remembered- ColumnListView doesn't have the RemoveItem function like a ListView does.
BRow* row = fListView->RowAt((int32)0, NULL);
while (row) {
fListView->RemoveRow(row);
delete row;
row = fListView->RowAt((int32)0, NULL);
}
or
BRow* row = fListView->RemoveItem((int32)0);
while (row) {
delete row;
row = fListView->RemoveItem((int32)0);
}