• 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
Hiding zoom & minimize buttons
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Hiding zoom & minimize buttons


  • Subject: Hiding zoom & minimize buttons
  • From: David Catmull <email@hidden>
  • Date: Tue, 28 Mar 2006 16:27:28 -0800

I want to hide the zoom and minimize buttons in a utility window because I don't use them and they're taking up too much space (the HIG says I can just have a close button). Turning them off in Interface Builder just disables them; doing this on a Carbon nib actually removes them. If I access them with standardWindowButton: and hide them manually with setHidden:, then that part of the title bar doesn't respond to clicks and the window title is still offset to the right.

Can this be done in Cocoa with a reasonable amount of work (ie without recreating the title bar myself)? I see Pages' inspector window doesn't bother hiding them.

--
David Catmull
email@hidden
http://www.uncommonplace.com/

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Hiding zoom & minimize buttons
      • From: "John C. Randolph" <email@hidden>
  • Prev by Date: Re: Character value of 'Enter' and 'Return' Key ?
  • Next by Date: changing NSRulerView's size ?
  • Previous by thread: Re: NSWorkspace launchedApplications
  • Next by thread: Re: Hiding zoom & minimize buttons
  • Index(es):
    • Date
    • Thread