On 29.05.2008, at 05:17, [EMAIL PROTECTED] wrote: > [..] > so I wrote this just to see if it >> works.. seems to: > > Yah, I should have included a test case, sorry. > Add this to what you have:
Hi Stan, Whenever you write a report like this, please include you version of FLTK and the OS that you re running. When submitting sample code, please make sure that it is complete and compiles on our test machines. Thanks. Now for your problem: Fl_Window as a subwindow creates a true new window (in the sense of that OS) that is a child of the top level OS window. That means that this subwindow will provde its own functions for drawing and refresh, but also that the window will have its very own graphics context, which may be useful for embedding plugins. (This is not true for OS X which has no concept of subwindows). So if you call a parent redraw of a subwindow, the parent will be redrawn. The caller itself however will not receive a redraw event because it is entirely independent of the parent window. The correct way s to call redraw() on the Fl_Double_Window itself. Matthias ---- http://robowerk.com/ _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

