• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: 2-moded window question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >2-moded window question (From: "Nathan V. Roberts" <email@hidden>)

  • Prev by Date: Shadowed Text
  • Next by Date: NSFileManager, NSFileType and more...
  • Previous by thread: Re: 2-moded window question
  • Next by thread: Files
  • Index(es):
    • Date
    • Thread