TListView : Why ist Listview_Getitemtext() so slow
Hallo everybody
To fasten my Listview I use :
ListView_SetItemText(lv1.handle,i,0,pchar(qrartikelzeich_nr.value));
ListView_SetItemText(lv1.handle,i,1,pchar(qrartikelnr.value));
ListView_SetItemText(lv1.handle,i,2,pchar(qrartikelbez.value));
To make my sorting I use the OnCompare-Event. To make my
compares, I have to use the command ListView_GetItemText and
this is very slow.
First used it with the Lv1.items.item[i].SubItem.strings[j] to make the
compares. This was very fast. But when I use the Listview_setitemtext(),
I don't have the Subitems any more.
Does anybody has an idea to fasten it up?
Thank's for any help.
Arthur