• 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: NSWindow With Only Close Button?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSWindow With Only Close Button?


  • Subject: Re: NSWindow With Only Close Button?
  • From: Jean-Daniel Dupas <email@hidden>
  • Date: Mon, 12 Jan 2009 09:45:39 +0100


Le 12 janv. 09 à 01:36, Kyle Sluder a écrit :

On Sun, Jan 11, 2009 at 7:18 PM, Chunk 1978 <email@hidden> wrote:
i noticed the window of the OS Install Assistant of Parallels 4.0 only
has a close button in the top left corner of the window. i didn't
know this was possible. how is this accomplished?

I don't think you can do it in Cocoa; you certainly can't do it in IB. Parallels is a Carbon app.



[[myWindow standardWindowButton: NSWindowZoomButton] setHidden:YES];
[[myWindow standardWindowButton: NSWindowMiniaturizeButton] setHidden:YES];_______________________________________________


Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSWindow With Only Close Button?
      • From: glenn andreas <email@hidden>
References: 
 >NSWindow With Only Close Button? (From: "Chunk 1978" <email@hidden>)
 >Re: NSWindow With Only Close Button? (From: "Kyle Sluder" <email@hidden>)

  • Prev by Date: Re: How can i read the "iTunes Library" file?
  • Next by Date: Getting the mouse position in pixels in QC
  • Previous by thread: Re: NSWindow With Only Close Button?
  • Next by thread: Re: NSWindow With Only Close Button?
  • Index(es):
    • Date
    • Thread