Re: Hit Testing & Keyboard Focus
Re: Hit Testing & Keyboard Focus
- Subject: Re: Hit Testing & Keyboard Focus
- From: Mike Engber <email@hidden>
- Date: Fri, 1 Aug 2003 14:19:44 -0700
Can somebody explain an easy way to obtain the UI Element with the
current keyboard focus?
You should ask the app for its kAXFocusedUIElementAttribute.
If you want to know what app has the focus you can ask the system wide
app for its kAXFocusedApplicationAttribute.
Also relevant are:
kAXFocusedUIElementChangedNotification
and
kAXFocusedWindowChangedNotification
-ME
_______________________________________________
accessibility-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/accessibility-dev
Do not post admin requests to the list. They will be ignored.