wxGrid or wxListCtrl

Milan Babuskov milanb at panonnet.net
Wed Apr 16 01:59:00 PDT 2008


Thibault Genessay wrote:
> No flame intended. Szurilo's question was certainly not well
> formulated, but I'm in a good mood this morning so I felt like I could
> help him understand your answer the right way - re-reading yours, you
> have to admit that it's not clear for someone who does not know -yet-
> what a thread is.

Yes, you are right. I already admitted I was too lazy to write a 
detailed reply such as yourself. Hopefully he will draw the right 
conclusions from this thread.

>>  So, you propose that those animations OP talked about 'work' while data is
>> being queried? What happens when user doesn't do any action that doesn't
>> refresh any data (i.e. no queries)? Animations would stop.
> 
> Some part of my answer you chopped off mentioned RefreshItem(), which
> is how the app needs to ask wxWidgets for a refresh if the data has
> changed.

Of course. But I still think he would need a worker thread to do the 
actual animation (not to display it, just to 'power' it). If he's not 
comfortable with threads, maybe he should use wxTimer.

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


More information about the wx-users mailing list