Getting text caret location in screen coordinate
Getting text caret location in screen coordinate
- Subject: Getting text caret location in screen coordinate
- From: "Chen Wang" <email@hidden>
- Date: Tue, 11 Apr 2006 23:53:47 -0400
- Thread-topic: Getting text caret location in screen coordinate
Dear List,
Does anybody here know how to get text caret location (x, y) in screen coordinate?
I'm trying to make a small window that is able to dynamically follow the text caret (the little "I" shaped cursor) while typing. In most cases, the text caret is owned by other application. Therefore, I'm looking for a solution which is able to tell where (x, y) is the text caret system wide. After spending hours on searching, it seems to me that there is no straight-forward way to do it (like locating the mouse cursor by using GetGlobalMouse() or [NSEvent mouseLocation]). Any suggestion or point to right docs will be highly appreciated.
Many thanks
- Chen
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:
This email sent to email@hidden