|
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
| Brad, You're passing the CFString 'str' instead of a pointer to UniChars in your call to SetEventParameter(.. kEventParamTextInputSendText, typeUnicodeText...) You may also want to use 'kEventAttributeUserEvent' instead of 'kEventAttributeNone' in your call to CreateEvent(). Alternatively, check out CGEventKeyboardSetUnicodestring() in CGEvent.h (available since Tiger). This flags the Unicode text so that when the key-focus process gets the CG event, instead of posting a raw key event to the Carbon event queue, a kEventTextInputUnicodeText event is dispatched instead via SendTextInputEvent() (with all the correct goodness)... seems more convenient if you're already using CGRemote. Michael Grady On Jun 22, 2007, at 4:40 PM, Bradford Werner wrote:
|
_______________________________________________ Do not post admin requests to the list. They will be ignored. Carbon-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
| References: | |
| >SendTextInputEvent returns eventNoHandledErr (-9874) with kEventTextInputUnicodeText type event (From: Bradford Werner <email@hidden>) |
| Home | Archives | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2011 Apple Inc. All rights reserved.