Re: Where to catch notifications when inspecting a Carbon application?
Re: Where to catch notifications when inspecting a Carbon application?
- Subject: Re: Where to catch notifications when inspecting a Carbon application?
- From: David Niemeijer <email@hidden>
- Date: Fri, 1 Jun 2007 22:54:42 +0200
At 16:18 -0400 1/6/07, Bill Cheeseman wrote:
It can also be very useful to select the root application UI element in UI
Browser, then register to observe the notification you're investigating.
When the notification is triggered by any UI element in the target
application, you can see which UI element triggered it in the notification
observer window -- and double-click it in that window to automatically
select it in the main browser view.
That is exactly what I did and, initially when going back and fourth
between two windows (clicking alternately on each one of them) of any
Carbon app I tested so far that has a single AXTextField in the
window I only see AXFocusedWindowChanged events and no
AXFocusedUIElementChanged. After some time by going back and forth
between some other windows and apps, i suddenly do get
AXFocusedUIElementChanged when switching between the exact same two
windows. I have not figured out the exact conditions that cause
AXFocusedUIElementChanged to suddenyl be send as expected. In Cocoa
apps they are always send as expected.
david.
_______________________________________________
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