• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Get an absolute screen pos of a text cursor in another Carbon application from Cocoa app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Get an absolute screen pos of a text cursor in another Carbon application from Cocoa app


  • Subject: Get an absolute screen pos of a text cursor in another Carbon application from Cocoa app
  • From: eveningnick eveningnick <email@hidden>
  • Date: Sun, 26 Sep 2010 14:42:37 +0300

Hello!
Is it possible to somehow determine the text caret's absolute screen
position of a Carbon application?
(I've sent it to carbon mailing list, but seems like no one is
interested in carbon development anymore)

What am i trying to do is to display a popup list window near the text
cursor in Microsoft Word (from my own process) - like it is done in
XCode (or Visual studio, or Delphi) as a dropdown code suggestion
menu.
I can't do it by the means provided by Word (Word supports only
getting cursor position relatively to the left-top page corner (it can
be done using AppleScript command), but i've no possibility to
determine where that page corner is located - unfortunately page is
not a separate accessibility object). Maybe it can be done somehow
using "under-the-hood" API?

Or perhaps someone knows how could I get that current page's left-top
corner coordinates? That would solve problem (though i doubt there's
such a possibility)
Thanks a lot for any suggestion!

George
_______________________________________________

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

  • Prev by Date: [SOLVED] Drag from Table To View
  • Next by Date: Re: Cocoa Text System - Temporarily Disabling Layout
  • Previous by thread: Re: [ANN] AppKiDo 0.985
  • Next by thread: NAProgressIndicator and key value compliance
  • Index(es):
    • Date
    • Thread