Re: What's the magic that makes cmd-w close a window?
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