PaoloItaly wrote:

> finally (maybe)
>  ......
>   bx = new Fl_Box(Fl::box_dx(box()),
>                               Fl::box_dy(box()),
>                               w()-(Fl::box_dx(box()) +Fl::box_dw(box())),
>                               h()-(Fl::box_dy(box()) +Fl::box_dh(box())));
>   ......

Thanks for your responses but I'm afraid I've not explained clearly my pb.
I did on purpose a 0,0 position and a tall height just to show what happens 
when a child widget is bigger than it's parent.

The thing is, since the red box is a child of the main window, it would be 
logical that the main window's borders are drawed and a part of the red box 
masked.
Apparently not. So I'd like to know if there a way to draw the main window's 
borders instead the parts of the red box.
May be a fl_clip delimitation or something ?

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

Reply via email to