• 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: NSPanel should not close on command-W
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSPanel should not close on command-W


  • Subject: Re: NSPanel should not close on command-W
  • From: Georg Seifert <email@hidden>
  • Date: Mon, 23 Jun 2008 09:35:19 +0200

Now I found out how panels works in Apple apps: (I did not use them often enough to be used to this behavior. I always had the panel from Adobe apps in mind )

The panels have the "setBecomesKeyOnlyIfNeeded:YES" set and thats it. Than they get closed by "command+W" if they have the focus (normally if on control has it) or no other window is open.

The way I would like it is that is does not respond to "command-w" at all. I think, I will try to implement my my own close button and disable close in IB. Or has anyone a better idea?

Thanks for your help
Georg
_______________________________________________

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: NSPanel should not close on command-W
      • From: Jim Correia <email@hidden>
    • Re: NSPanel should not close on command-W
      • From: Mike Abdullah <email@hidden>
References: 
 >Re: NSPanel should not close on command-W (From: Keary Suska <email@hidden>)
 >Re: NSPanel should not close on command-W (From: Georg Seifert <email@hidden>)
 >Re: NSPanel should not close on command-W (From: Jason Stephenson <email@hidden>)

  • Prev by Date: Error when building a Cocoa-Java app
  • Next by Date: Determining startup AppleEvents
  • Previous by thread: Re: NSPanel should not close on command-W
  • Next by thread: Re: NSPanel should not close on command-W
  • Index(es):
    • Date
    • Thread