Any tips for making adding ListViewItems to a ListView faster? RRS feed

  • Question

  • Hi,
    I am adding items to a ListView by first populating an array<ListViewItem^> and then using ListView->Items->AddRange().   The AddRange() alone for 70,000 items takes about 50 seconds before the GUI comes back.    The ListView is in details mode.   This seem long to me since viewing standard Windows in details view with that many items is significantly faster.   Is there a way to make it more efficient?


    Saturday, May 3, 2014 7:03 PM


All replies