Is there any other way of enumerating windows and getting their positions except Accessibility API?
Is there any other way of enumerating windows and getting their positions except Accessibility API?
- Subject: Is there any other way of enumerating windows and getting their positions except Accessibility API?
- From: eveningnick eveningnick <email@hidden>
- Date: Fri, 1 Oct 2010 04:34:24 +0300
Hello
Is there a way in MacOS X to determine the position of the control on
a screen, if the application doesnt provide Accessibility object for
that control?
What am I trying to do - is to get the position of the topleft corner
of Mac:Word Page (it seems to be a View or something like that).
Word does provide Accessibility API, but only as deep as the window
which is called Document Pane that contains pages (and this document
pane may contain several pages, or the page can be scrolled while that
Document Pane doesnt change its location).
I am wondering, if this page can be interpreted as a control and then,
maybe using some Windowing APIs i could retrieve that position.
I am sorry about the terminology, before i've been coding only for
Windows, thus i hardly imagine how windowing system works in MacOS.
Thanks for any help
_______________________________________________
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