Re: EventRef to NSEvent
Re: EventRef to NSEvent
- Subject: Re: EventRef to NSEvent
- From: Eric Schlegel <email@hidden>
- Date: Fri, 17 Jul 2009 08:20:46 -0700
On Jul 17, 2009, at 4:21 AM, Andy Bell wrote:
Hi All,
How can I convert EventRef to NSEvent on 10.4? I am only interested
in
getting the equivalent value for [NSEvent characters] from the
EventRef.
If you have a kEventTextInputUnicodeForKeyEvent event, then the
Unicode character data is already in the event; use GetEventParameter
(HIToolbox/CarbonEventsCore.h) with kEventParamTextInputSendText.
If you have some other type of event, then the character data simply
isn't there.
-eric
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden