wxGrid or wxListCtrl

Milan Babuskov milanb at panonnet.net
Tue Apr 15 08:36:03 PDT 2008


szurilo wrote:
> I cant decide what widget i should use.
> 1. I have a lots of data, much more than 1000. Iam wondering is there any
> limit in wxGrid and wxListCtrl?

Both can handle it well if you use virtual storage.

> 2. I have to refresh about 50 records per second, which one is able to it,
> beside i dont want any freezing or vibrating effect?

I don't know about wxListCtrl, but you can Freeze/Thaw the grid and 
update all at once without redrawing.

> 3. I also want some trivial thing like to scroll among these records while
> the GUI refreshing records.

Use two threads.

> If you suggest the wxListCtrl pls let me know which format is good for me:
> report view, list view, etc.

What kind of items are you going to show?

> I dont know much about wxGrid but if you think this one will be the best for
> me than iam also interested in.

How much is 'much more than 1000'? 2000? 10000? 1000000?
Are all of those going to have pictures/animations,etc?

-- 
Milan Babuskov
http://www.flamerobin.org


More information about the wx-users mailing list