by Gregory Weston <uce@[EMAIL PROTECTED]
>
May 2, 2008 at 07:46 AM
In article
<b25ee72c-1881-4ac1-b1b0-5ded5b0e4a85@[EMAIL PROTECTED]
>,
p2 <pradip.patel@[EMAIL PROTECTED]
> wrote:
> Hi
>
> I am creating window without menubar. The controller class is derived
> from NSWindowController.
>
> How can i respond cmd+w command to close the window?
>
> If menubar is there then default cmd+w is there in file menu. So
> without menubar how can i achieve this ?
>
> p2
Make the window's content view a custom class that responds to cmd-w.
--
"Harry?" Ron's voice was a mere whisper. "Do you smell something ...
burning?"
- Harry Potter and the Odor of the Phoenix