On 24.06.2008, at 16:07, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>  
wrote:

> Matthias wrote:
>> Setting the windows to non-modal has no effect. It is plain wrong.
>>
>> To determine why your drawinf routine fils, I would need a complete
>> source code.
>
> Ok, this is the .h file :
>
>  void MySplitter::draw()

The code insode this function will certainly not draw into the  
windows. You see, the idea of using windows as children of groups is  
to create a new graphics context. Having a new coordinate system is  
just one of the side effects. If any drawing os visible on the child  
windows at all depends on the underlying platform. Generally, it is  
not recomendable to draw over child windows, but instead let the  
windows do their own drawing.

So the solution here would be to derive your own window class and give  
it another draw() function.

Oh, and another thing. You choose doublebuffered windows as children,  
which adds yet another layer of buffering, so drawing into the window  
from any other part of the code than the window's draw function is  
unpredictable.

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


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

Reply via email to