Edzard Egberts schrieb:
> Fl_Native_File_Chooser chooser(Fl_Native_File_Chooser::BROWSE_FILE);
> if (!chooser.show())
> {
>       m_Log.Load(chooser.filename());
>       if (m_Log.Error.empty())
>       {
>       for (unsigned i= 0; i< 3; ++i)
>       { // Clear graphic
>               Fl::check();
>               os_fkt::Sleep(100);
>       }
        m_Do_Eval_Log= true;    // Call offscreen drawing by timer

The previous code doesn't work, I just found out, that there are two 
items: It is not only necessary to clean the dialog, it is also 
necessary to leave the Fl_Menu callback before calling 
offscreen-drawing. There is a timer running, an when flag m_Do_Eval_Log 
was set, the timer clears it and calls offscreen-drawing. This way it 
works now für Linux and Windows-XP, but my initial question remains.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to