Re: window notification inconsistency
Re: window notification inconsistency
- Subject: Re: window notification inconsistency
- From: John Louch <email@hidden>
- Date: Sun, 13 Apr 2003 08:52:37 -0700
This is a known bug in the Carbon implementation. Cocoa does not have this
issue.
There is not really a good workaround unfortunately. For the
FocusChangedNotification, you can iterate through the AXWindows attribute of
the app looking for the window who's focused attribute is set.
Thanks,
jl
>
Hi there
>
>
With window notifications, the kAXFocusedWindowChangedNotification in
>
particular, the argument passed as the UIElement of the notification
>
varies from either being the window itself, or the application
>
UIElement. For example, when I get a
>
kAXFocusedWindowChangedNotification from iTunes, I am passed the
>
application UIElement, whereas with Project Builder, I am passed the
>
Window UIElement. It isn't to hard to work around this problem. Just
>
wondering really why this inconsistency exists.. Cocoa/Carbon apps?
>
>
Joji
>
_______________________________________________
>
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.
---------------------------------------------
John Louch Internet #: email@hidden
(805) 546 0216
_______________________________________________
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.