On 31 Dec 2009, at 1:07, leowang wrote:

> Dear All,
> I found that when I call redraw in a thread, it will not really  
> redraw, the UI does not refresh untill we have handle on the  
> window. why? Does it mean I only can call redraw in main thread?

Yes, basically it does.
You need to read the docs about thread support.
Unfortunately, since fltk-2 is unsupported, the docs aren't very  
good, so you will need to refer to the fltk-1.1 or fltk-1.3 docs and  
interpret what that says...

However, I do not know how complete or workable the thread support in  
fltk2 is, and I think that is not complete.

I would say, leowang, that you would probably get better results (and  
more active support) using fltk-1.3.



_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to