Re: Hidden Cocoa apps have empty kAXWindowsAttribute
Re: Hidden Cocoa apps have empty kAXWindowsAttribute
- Subject: Re: Hidden Cocoa apps have empty kAXWindowsAttribute
- From: Matthew Formica <email@hidden>
- Date: Tue, 11 Mar 2003 15:26:09 -0800
Do you guys need full access to the windows, even when they are hidden, or
would it be sufficient to be able to get their titles, type, and basically
just identify how many windows an app has? If it's the latter, it has a
chance of being done by Apple, but it also seems to me like you could simply
keep track yourself of the open windows, and when the app is hidden, assume
the open windows are the same. Then if the user wants to bring one of those
windows to the front, unhide the app, re-query it to get the windows again
(and match things up again, which shouldn't be too hard), and bring the
relevant window to the front.
Matthew Formica
Apple DTS Engineer
On 3/11/03 2:17 PM, "Mike Engber" <email@hidden> wrote:
>
On Tuesday, March 11, 2003, at 2:03 PM, Matt Gough wrote:
>
> OK, so if my app has a retained AXUIElementRef for one such window, am
>
> I
>
> correct in assuming that that element will become unusable once the
>
> containing app is hidden, (or does the system not release them in this
>
> case)?
>
>
I mentioned this in another email.
>
>
When a Cocoa app is hidden, existing AXUIElementRefs to windows go bad.
>
You receive a destroyed notification letting you know.
>
>
-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.
_______________________________________________
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.