Stealing keystrokes
Stealing keystrokes
- Subject: Stealing keystrokes
- From: Paul FitzGerald <email@hidden>
- Date: Sat, 16 Sep 2006 19:28:59 -0700
I want to steal or filter key events before they get to any of the UI
in my window. Currently I have a dummy custom subview of NSView in
the window that I make first responder that overrides keyDown: and
keyUp:. I don't really like this implementation and I really only
want to get the keys, not the other events.
I was thinking it would be best if I could get the key events at the
NSWindow before they are sent to the first responder but I can't
figure out if that can be done. I only want to filter key events
going to this window so this would make sense.
Anyone have an idea how I could do this?
Any other ideas?
Thanks,
Paul
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden