• 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: Windows without traffic lights
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Windows without traffic lights


  • Subject: RE: Windows without traffic lights
  • From: "Phil Barrett" <email@hidden>
  • Date: Fri, 10 Aug 2001 13:34:03 +0100

Answering my own question after some judicious peeking at the hidden innards
of AppKit...

To remove the zoom button:

[ [ [ [ win _borderView ] zoomButton ] retain ] removeFromSuperview ];

repeat with minimizeButton and closeButton.

You gotta love the way Objective C lets you send arbitrary messages to
unknown objects!

Phil


References: 
 >Re: Windows without traffic lights (From: "Erik M. Buck" <email@hidden>)

  • Prev by Date: Re: Programatically Designing a GUI
  • Next by Date: Newbie window question
  • Previous by thread: Re: Windows without traffic lights
  • Next by thread: Re: Windows without traffic lights
  • Index(es):
    • Date
    • Thread