Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Getting text caret location in screen coordinate



Thanks Douglas. It seems that kEventTextInputOffsetToPos event can do
the trick. I will make further research to see if I can post the event
to TSM using SendTextInputEvent() without hiring an Input Method
Component.

 

I've also checked the accessibility APIs, but not optimistic, because
some clients of my application (e.g.: Ms Word, iPages) may not fully
support the accessibility protocol.

 

- Chen

 

>This is the sort of thing that an input method would do; try looking at
the documentation for input methods, e.g. the TSM reference >material.
There probably are examples available too.

 

>The alternative would be to use the accessibility APIs.

 

>Douglas Davidson

 

Bloorview Kids Rehab has a new home!  The services from the former MacMillan site have moved into our new state-of-the-art facility at 150 Kilgour Road in Toronto (Bayview and Eglinton). The services at our Bloorview site (Leslie and Sheppard) will move into the new facility in August. For more information visit our website at www.bloorviewmacmillan.on.ca.

Confidentiality Notice:  This e-mail, including any attachments, is for the sole use of the intended recipient(s) and may contain private, confidential, and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient or this information has been inappropriately forwarded to you, please contact the sender by reply e-mail and destroy all copies of the original.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.