• 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: Ryan Homer <email@hidden>
  • Date: Sat, 3 Feb 2007 11:33:59 -0500

On 3-Feb-07, at 10:13 AM, Andreas Mayer wrote:


Am 03.02.2007 um 15:01 Uhr schrieb Ryan Homer:

So, I have to wonder what command-H does differently. Does it orderOut: and then perhaps sets up some kind of notification in order to act on the click and re-display the window?

I think it just tells the window manager to not display the window (s). Why are you concerned about this anyway? Hiding an application is something completely different from closing it's windows.



My only concern was that I did not alter the behaviour of my main window closing in a way that would affect normal operation in some unexpected way. However, since I ended up NOT intercepting the closing of the window, only the re-opening of it, I am comfortable that it should not cause any undesirable behaviour.


The thing is... I do not know exactly what "closing" the window means. If it's just the backing store that gets destroyed and fully re-created by the OS without me doing anything else, that's fine, but I was concerned about if I would have to do anything to properly recreate the window. It turned out that I only had to makeKeyAndOrderFront:

Thanks,

Ryan

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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

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

  • Prev by Date: Re: Close button vs. command-h
  • Next by Date: Re: key path blues
  • Previous by thread: Re: Close button vs. command-h
  • Next by thread: A Drag that Never Starts...
  • Index(es):
    • Date
    • Thread