• 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: What's the magic that makes cmd-w close a window?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What's the magic that makes cmd-w close a window?


  • Subject: Re: What's the magic that makes cmd-w close a window?
  • From: "Marcus S. Zarra" <email@hidden>
  • Date: Tue, 11 Oct 2005 21:00:24 -0600

You might want to read Apple's Human Interface Guidelines as well.  If
I recall correctly, it is the expected behavior for the close menu
item to be in the file menu.

On 10/11/05, Jerry Krinock <email@hidden> wrote:
> Thanks for the help; after reviewing those docs I went back to IB and found
> the missing piece.  It turns out that TextEdit, and almmost other recent
> Apple applications, have a "Close cmd-W" menu item hiding in the "File" menu
> and wired to performClose: of FirstResponder.  Xcode's "New Cocoa
> Application" stationery has this too.
>
> So there's no magic; I had just never noticed this item in the "File" menu.
>
> I had put my "Close" item in the "Window" menu, you know, as in "Close
> Window".  But oh well I'll go with the crowd and stick it in the File menu.
>
> Jerry
>
>
>  _______________________________________________
> 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
>
 _______________________________________________
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: What's the magic that makes cmd-w close a window?
      • From: Raffael Cavallaro <email@hidden>
References: 
 >Re: What's the magic that makes cmd-w close a window? (From: "Marcus S. Zarra" <email@hidden>)
 >Re: What's the magic that makes cmd-w close a window? (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: -observeValueForKeyPath:ofObject:change:context: only defined for abstract class. Runtime error
  • Next by Date: How to load from templates like in iWork using CoreData?
  • Previous by thread: Re: What's the magic that makes cmd-w close a window?
  • Next by thread: Re: What's the magic that makes cmd-w close a window?
  • Index(es):
    • Date
    • Thread