RE: How to track global focus?
RE: How to track global focus?
- Subject: RE: How to track global focus?
- From: David Niemeijer <email@hidden>
- Date: Mon, 29 May 2006 21:15:23 +0200
Hi Chen,
At 10:42 -0400 29/5/06, Chen Wang wrote:
Here is my 2-step work around for your reference:
1) Install { kEventClassApplication, kEventAppFrontSwitched } event
handler
2) Inside the event handler, dynamically register the
kAXFocusedUIElementChangedNotification for the current front-most
application.
Not perfect, but works well in my case.
This is what I am currently already doing, however, the problem is
that when the user uses full keyboard access to shift focus to, for
example, the Dock there is no front application switch. That's why I
am currently special casing the Dock and SystemUIServer.
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