Capturing key events
Capturing key events
- Subject: Capturing key events
- From: Greg Hurrell <email@hidden>
- Date: Mon, 24 Feb 2003 19:53:33 +1030
I have an NSView in which I am trying to capture combinations of key
presses.
In this view I provide a - (void)keyDown:(NSEvent *)theEvent method.
Can anyone tell me why is it that I can capture things like
"Command+F10", but not, "Command+5"?
When I try to capture things like the latter, I just get the system
beeping at me. And my keyDown method is never even called... (I know it
must have something to do with a lot of those command+key combinations
being reserved for use by menus, but I am still curious to know where
this stuff is being intercepted.)
Thanks for any light you can shed on this topic...
Cheers
Greg
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.