On Dec 1, 2007, at 3:10 AM, Frank Eory wrote:

> In Windows, I used a CreateThread to run a thread processing the  
> serial port and changing the value of some text widgets and drawing  
> lines. The actual redrawing of the widgets only occur if I move the  
> mouse, while the GUI widgets change if I interact with them. If in  
> my new thread I use either Fl::flush() or Fl::check(), the widgets  
> that I change in the thread get redrawn, but if I click on the  
> widgets to slide or change their values they are totally frozen.

I suggest that you upgrade to FLTK 1.1.8 (currently only in SVM or as  
a snapshot). This version contains many bug fixes and a new section in  
the manual explaining multithreading with FLTK.

> Also, how do I rebuild the fltkd.lib in MS Visual C++?

There are project files for most versions of MSVC in the directory  
tree under "visualc", "vc2005" and "vcnet"

----
http://robowerk.com/


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

Reply via email to