• 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: Raffael Cavallaro <email@hidden>
  • Date: Wed, 12 Oct 2005 00:17:31 -0400


On Oct 11, 2005, at 11:00 PM, Marcus S. Zarra wrote:

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.

FWIW, the reason Close is in the File menu is that from the user perspective it is the contents of the window, usually a document, which are being closed. Since document related commands are in the file menu (Open, New, Save, Save As…, Revert) Close goes there too. The use of the Close command for other types of non-document windows means that to be consistent the Close command will be in the File menu for these windows as well. This is a theme in Mac OS HIG - the user learns how things work once - here, menus - and can be confident that every conforming app will work the same way. Of course Cocoa and IB support these HIGs. The keyboard shortcut (Command-W) goes back to System 7 and Close in the File menu goes back to the original Mac of 20+ years ago.


regards

Raffael Cavallaro, Ph.D.
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


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>)
 >Re: What's the magic that makes cmd-w close a window? (From: "Marcus S. Zarra" <email@hidden>)

  • Prev by Date: How to load from templates like in iWork using CoreData?
  • Next by Date: Re: 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: runModalForWindow: and sheets
  • Index(es):
    • Date
    • Thread