AXUIElementCopyElementAtPosition() returning null on title bar
AXUIElementCopyElementAtPosition() returning null on title bar
- Subject: AXUIElementCopyElementAtPosition() returning null on title bar
- From: "Smita Godbole" <email@hidden>
- Date: Fri, 9 May 2008 10:46:29 +0530
I am writing an application which gets the mouse clicks and finding the AXUIElementRef of that window,
then I am changing the position & size of that window.
I am using AXUIElementCopyElementAtPosition() method for getting AXUIElementRef of target window.
I've found a problem when the mouse cursor is on the title bar of an application where tiltle is written,
AXUIElementCopyElementAtPosition() sometimes gives null & sometimes AXUIElement.
Then I found the kAXRoleAttribute with AXUIElement for AXRole,
it gives me different values like AXWindow,AXStaticText
I verified this thing with UI Element Inspector,It also have the same problem.
Does anybody have any idea why its giving null???
Or can anybody give me the solution what should I do to found AXUIElementRef when I hover my mouse over the title of any window
Thanks
Smita Godbole
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden