Re: Get *all* key events to display in NSTextField?
Re: Get *all* key events to display in NSTextField?
- Subject: Re: Get *all* key events to display in NSTextField?
- From: Allan Odgaard <email@hidden>
- Date: Thu, 4 Mar 2004 14:20:41 +0100
On 4. Mar 2004, at 13:19, Dale Gillard wrote:
Is the only solution to create a custom NSView, draw the outline and
focus ring, and override keyDown: to capture the full range of key
events available?
Actually, I don't think you'll get all keys with that approach either.
I eventually had to implement sendEvent: in an application subclass to
get all of the events -- so when my text field became first responder,
it would tell the app to send events directly to me, and I would
translate them to a glyph representation.
_______________________________________________
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.