In article
<587f17d3-f589-4923-97a3-27adfe3a8b87@[EMAIL PROTECTED]
>,
p2 <pradip.patel@[EMAIL PROTECTED]
> wrote:
> On May 8, 11:30 pm, Gregory Weston <u...@[EMAIL PROTECTED]
> wrote:
> > In article
> > <8bb15f8a-73ca-4067-86de-665a55a06...@[EMAIL PROTECTED]
>,
> >
> > p2 <pradip.pa...@[EMAIL PROTECTED]
> wrote:
> > > > > How can i get this event in my custom class ? Is any thing
missing ?
> >
> > > > Yes. You're missing the fact that I noted multiple times that you
> > > > should
> > > > subclass NSView or NSWindow for this behavior. It has to be an
> > > > NSResponder subclass and it has to be in the active responder
chain.
> >
> > > But the NSWindowController is also derived from NSResponder
> >
> > "... and it has to be in the active responder chain."
> >
> > Obviously your window controller is not making it into the responder
> > chain.
>
> means, anyway i cannot get performKeyEquivalent in my custom class
> which is derived from NSWindowController
Unless you insert your window controller into the responder chain.
--
"Harry?" Ron's voice was a mere whisper. "Do you smell something ...
burning?"
- Harry Potter and the Odor of the Phoenix


|