Re: Observer call-back sometimes given nil refCon
Re: Observer call-back sometimes given nil refCon
- Subject: Re: Observer call-back sometimes given nil refCon
- From: John Louch <email@hidden>
- Date: Tue, 01 Apr 2003 09:32:58 -0800
When you get the notification with the nil callback can you dump info about
the passed UIElement (role, title, etc). As well as the name of the
notification.
Thanks,
jl
>
Very occasionally, my Observer call-back is being given a nil refCon for a
>
WindowCreated notification. In all the cases that I add the notification, I
>
can guarantee that the value passed into AXObserverAddNotification is
>
definitely not nil
>
>
i.e. it is in some code like:
>
>
if (myPtr)
>
{
>
...
>
AXObserverAddNotification(..., myPtr);
>
}
>
>
and myPtr is not changing between the test and the Add.
>
>
>
>
Has anyone else seen this, and can anyone at Apple see any possible reason
>
for it being 'lost' between then time it is added and the time the call-back
>
is called?
>
>
Matt Gough
>
_______________________________________________
>
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.