• 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: Close button vs. command-h
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Close button vs. command-h


  • Subject: Re: Close button vs. command-h
  • From: Mike Abdullah <email@hidden>
  • Date: Sat, 3 Feb 2007 12:57:44 +0000

No, they really do close the window since if you command-tab to iTunes, it will not re-open the main window. The app detects the user clicking the dock icon and re-opens the window.

Personally, I feel this is poor design, the window should re-open regardless of how the user activated the app.

I would use your app delegate (or the notification centre) to register for -applicationDidBecomeActive: and then re-open the window in that method.

Mike.

On 3 Feb 2007, at 12:38, Ryan Homer wrote:


In most cases, single window non-document-centric apps should probably quit when their window is closed (think System Preferences, Calculator, etc).


Thanks for the response, but I need my application to behave as I have described. I have a main window that is central to the application. I need to be able to restore my window after the user has closed it with the close button. So, it should work like the Mail app, Adium, iTunes, iCal, etc.

So, in these applications, do they intercept the close button and perform a hide instead?

Thanks.

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
40mikeabdullah.net


This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: Close button vs. command-h
      • From: "Clark Cox" <email@hidden>
References: 
 >Close button vs. command-h (From: Ryan Homer <email@hidden>)
 >Re: Close button vs. command-h (From: Murat Konar <email@hidden>)
 >Re: Close button vs. command-h (From: Ryan Homer <email@hidden>)

  • Prev by Date: Re: Close button vs. command-h
  • Next by Date: Re: Close button vs. command-h
  • Previous by thread: Re: Close button vs. command-h
  • Next by thread: Re: Close button vs. command-h
  • Index(es):
    • Date
    • Thread