[ROOT] Re: Hiding frames

From: Vladimir Nagaslaev (vnagasl@fnal.gov)
Date: Wed Apr 11 2001 - 06:51:03 MEST


   I found a correct combination (we are doing it blindly!).
MapSubwindows() should be called before HideFrame and ShowFrame.

  Vladimir.


>
>   I have several frames in a certain field of the main Root GUI
> window, and I would
> like to show only one of them each time. I'm using for that
> HideFrame(frame) and ShowFrame(frame). This works only if
> all the hidden frames pass through HideFrame in the certain order.
> If the order is wrong, it results in ugly image, when one of the
> hidden frames appears on top of one of the other active fields in
> the main widnow. If I choose to show another frame from the
> hide/show set, the order of hiding frames must be different.
> I cann't figure out the rule. Is there a simple one?
>
>    Vladimir.
>
>
>
>
>



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:41 MET