Re: 2-moded window question
Re: 2-moded window question
- Subject: Re: 2-moded window question
- From: "Erik M. Buck" <email@hidden>
- Date: Sat, 30 Jun 2001 02:21:31 -0500
In IB: Configure the bottom button to not resize and stick to the bottom.
Group the simple mode controls in a box and configure the box to not resize
vertically and stick to the top. Put the advanced controls in a box in a
separate window that will never be put on screen (unless the windowless view
support promised in IB is available in which case use that)
Programatically:
When you want to show the advanced controls, resize the window so that it is
big enough. Then add the box containing the advanced controls as a subview
of the window's content. To go back to simple mode, remove the box containg
the advanced controlls and resize the window. Be carfull with the retain
count of the box containing the advanced controls.