Re: Hidden Cocoa apps have empty kAXWindowsAttribute
Re: Hidden Cocoa apps have empty kAXWindowsAttribute
- Subject: Re: Hidden Cocoa apps have empty kAXWindowsAttribute
- From: Mike Engber <email@hidden>
- Date: Tue, 11 Mar 2003 13:22:00 -0800
For hidden Cocoa apps :
- minimized windows are listed
- other windows are not listed
I do not see this behavior. When I ask a hidden Cocoa app for AXWindows
I get back an empty array.
If you see different behavior you should file a bug + steps to repro.
This is not true. The Dock does not have access to them for a hidden
app.
It does in its Window menu off the Application's icon
Maybe we're not understanding eachother's terminology. I'm talking
about AXUIElementRefs that are windows.
Of course you're able to access the menu items which are in the Window
menu of the Application's doc icon. That's not the same as accessing
the windows. If you pick that menu item it will unhide the app and
bring that window forward. At that point you can access the window -
you should grab a new reference to it, don't rely on the old one
working.
Note, if you're holding onto a AXUIElementRef to a window when you hide
a Cocoa app, you get a destroyed notification. It's gone as far as
accessibility is concerned.
-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.