Skip navigation.
 
mlRe: Non-pretzel keyboard equivalents in Cocoa
FROM : j o a r
DATE : Fri Oct 15 21:47:07 2004

On 2004-10-15, at 18.46, David Dunham wrote:

>> Not sure what you mean by "return key", but the ^ character refers to
>> the Control key.

> The key labeled "return." It shows up as an obscure glyph in the menu.
> (IIRC, it's a pain to enter it in IB.)


Have you tried using "\r"?

>> Keyboard shortcuts *without* the NSCommandKeyMask was previously not
>> propagated through the first responder chain, and to menu items, like
>> keyboard shortcuts *with* the NSCommandKeyMask.
>> I filed bug reports with Apple about this, and they claim to have
>> solved at least some of it (I think back in 10.2.6). I have not
>> verified that they have however, as my workaround was already in
>> place, and is working fine (overriding NSApplication sendEvent and
>> manually checking the responder chain and menu items).

> This is likely what I'm seeing -- I'm pretty sure my control
> equivalent is handled high enough up the responder chain that it's not
> a problem with focus.
>
> Is your code pretty simple then?


Yes, it's really straight forward.

j o a r

Related mailsAuthorDate
mlNon-pretzel keyboard equivalents in Cocoa David Dunham Oct 15, 07:37
mlRe: Non-pretzel keyboard equivalents in Cocoa Scott Stevenson Oct 15, 09:55
mlRe: Non-pretzel keyboard equivalents in Cocoa Alex v.Below Oct 15, 10:47
mlRe: Non-pretzel keyboard equivalents in Cocoa j o a r Oct 15, 10:58
mlRe: Non-pretzel keyboard equivalents in Cocoa David Dunham Oct 15, 18:46
mlRe: Non-pretzel keyboard equivalents in Cocoa j o a r Oct 15, 21:47
mlRe: Non-pretzel keyboard equivalents in Cocoa Scott Stevenson Oct 15, 23:52
mlRe: Non-pretzel keyboard equivalents in Cocoa David Dunham Nov 27, 05:28