FROM : David Spooner
DATE : Fri Nov 02 19:21:30 2007
You may be able to implement the methods in a higher-level responder;
this leaves you with the problem of how to distribute the messages to
the appropriate views, but you will also have to do that if you take
the -sendEvent: route...
dave
On 2-Nov-07, at 11:38 AM, Philip Dow wrote:
> Ah, I failed to mention that the views upon which the key
> equivalents act are not necessarily in focus, so they won't receive
> the keyDown events.
>
> -Phil
>
> On Nov 2, 2007, at 9:49 AM, David Spooner wrote:
>
>> Phil,
>>
>> I had written a class of view which implements arbitrary key
>> equivalents (with some exceptions, like cmd-tab) by overriding both
>> -performKeyEquivalent: and -keyDown: -- I don't recall the
>> specifics, but I know that both methods are called in different
>> circumstances...
>>
>> dave
>>
DATE : Fri Nov 02 19:21:30 2007
You may be able to implement the methods in a higher-level responder;
this leaves you with the problem of how to distribute the messages to
the appropriate views, but you will also have to do that if you take
the -sendEvent: route...
dave
On 2-Nov-07, at 11:38 AM, Philip Dow wrote:
> Ah, I failed to mention that the views upon which the key
> equivalents act are not necessarily in focus, so they won't receive
> the keyDown events.
>
> -Phil
>
> On Nov 2, 2007, at 9:49 AM, David Spooner wrote:
>
>> Phil,
>>
>> I had written a class of view which implements arbitrary key
>> equivalents (with some exceptions, like cmd-tab) by overriding both
>> -performKeyEquivalent: and -keyDown: -- I don't recall the
>> specifics, but I know that both methods are called in different
>> circumstances...
>>
>> dave
>>
| Related mails | Author | Date |
|---|---|---|
| Philip Dow | Nov 2, 16:20 | |
| David Spooner | Nov 2, 17:49 | |
| Philip Dow | Nov 2, 18:38 | |
| David Spooner | Nov 2, 19:21 | |
| Philip Dow | Nov 3, 03:58 | |
| Sandy Martel | Nov 3, 08:43 |






Cocoa mail archive

