For a small application on my pocket pc 2003 using c# I have a list
control with a few hundred lines in it. (Using compact framework)

I filter the contents depending on a few other settings so the UI is ok
except that it's really slow to fill the listbox.

I Hide the listbox and Show it again when it's full which helps a bit.

Any other suggestions as to why this might be *really* slow, taking
several seconds or what I can do instead?

Re: List control very slow - what can I do instead? by Reinder

Reinder
Thu Aug 19 15:27:38 CDT 2004

In article <41250971$0$58817$5a6aecb4@news.aaisp.net.uk>,
John Burton <john.burton@jbmail.com> wrote:

> For a small application on my pocket pc 2003 using c# I have a list
> control with a few hundred lines in it. (Using compact framework)
>
> I filter the contents depending on a few other settings so the UI is ok
> except that it's really slow to fill the listbox.
>
> I Hide the listbox and Show it again when it's full which helps a bit.
>

<http://weblogs.asp.net/oldnewthing/archive/2004/06/10/152612.aspx> is
about Win32, but may give hints.

Reinder

Re: List control very slow - what can I do instead? by Saint

Saint
Thu Aug 19 15:58:35 CDT 2004

On Thu, 19 Aug 2004 22:27:38 +0200, Reinder Verlinde wrote:

> except that it's really slow to fill the listbox.
>>
>> I Hide the listbox and Show it again when it's full which helps a bit.
>>
>
> <http://weblogs.asp.net/oldnewthing/archive/2004/06/10/152612.aspx> is
>

Just bite the bullet and use C and a virtual listview.