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: "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