manifest file = slow listbox??

BlitzMax Forums/BlitzMax Programming/manifest file = slow listbox??

If you have PB and want to test yourself, this is the code I used.

#Window_0=1
#Listview_0=1

OpenWindow(#Window_0, 349, 243, 600, 300,  #PB_Window_SystemMenu | #PB_Window_SizeGadget | #PB_Window_TitleBar , "New window ( 0 )")
CreateGadgetList(WindowID())
ListViewGadget(#Listview_0, 0, 0, WindowWidth(), WindowHeight())

t=ElapsedMilliseconds()
For i=0 To 4300
  AddGadgetItem(#Listview_0,-1,"8s6f987s6f987sa6d97d9sd6s6fsad96f9s987d6as9s876f9f8a7s")
Next
MessageRequester("",Str(ElapsedMilliseconds()-t))

I noticed this does one extra AddGadgetItem (for 0 to 4300)=4301 items.