Greg Ercolano wrote:

> MacArthur, Ian (SELEX GALILEO, UK) wrote:
>>> Of course!
>>> I changed from 'thin down frame' to 'no bok', and now it works!
>> 
>> OK, that sounds like it was an easy one then!
>> 
>> For what it is worth, I would go for a "flat box" style rather than a
>> "no box" style - I suspect the "no box" style might also prove
>> problematic (in a similar way to a "frame" style) in some cases.
> 
> Right.
> 
> OP, if you do go with "no box" or "frames", then you
> you'd have to tell the /parent window/ to redraw instead,
> so that the background gets redrawn. (with a no box or frame,
> you basically 'see through' the help widget to the window's bg,
> so telling the widget to redraw isn't enough)
> 
> To tell the help view widget's window to redraw:
> 
> yourhelpview->window()->redraw();
> 
> But this can be avoided if you leave the help view widget's
> box() set to a regular 'box' instead of one of the "see-through"
> 'frame' or 'nobox' types. Then you can just tell the widget to
> redraw(), or it may even draw itself correctly without that.

Thank you, both of you. You have been very helpful. The box/frame stuff have 
always been a mystery to me (except for the obvious visual changes), now 
it's much clearer.

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

Reply via email to