I have a TextDisplay that I toggle (show/hide) with a button. The problem is if the TextDisplay is obscured, I'd like the button to raise it to the top of the stack instead of hiding it (which show does) but I don't know if the TextDisplay is obscured (ie visible & visible_r both return true once show has been called, even when the TD is completely covered). Any suggustions on how to tell if a widget is partially or totaly obscured (testing for top of stack would work in this case)? Thanks,Craig ps - the documentation for visible_r doesn't match the behavior I'm seeing (which is on WinXP):
Returns true if the widget and all of its parents are visible. Only if this is true can the user see the widget _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

