Re: Window's kAXMinimizedAttribute Can Only Be Set True
Re: Window's kAXMinimizedAttribute Can Only Be Set True
- Subject: Re: Window's kAXMinimizedAttribute Can Only Be Set True
- From: Jérome Foucher <email@hidden>
- Date: Sat, 31 Aug 2002 09:05:53 +0200
On samedi, ao{ 31, 2002, at 02:28 Europe/Paris, Eric Schlegel wrote:
On Friday, August 30, 2002, at 04:50 PM, Michael Kamprath wrote:
Furthermore, how do I make all of this work in Carbon applications?
According to the source, the AXMinimized attribute is supported by the
Carbon window manager for setting, and it appears to support both
collapsing and uncollapsing the window. (Untested by me.)
This works for me. I successfully get the minimized state of Carbon and
Cocoa windows and I managed to set the minimize state to true or false
afterwards.
The thing is that I do not call AXUIElementIsAttributeSettable before
trying to set the attribute. If the attribute is not settable,
AXUIElementSetAttributeValue will return an error, that's all.
By the way, where can I find errors code ? And why do calls to Carbon
apps and Cocoa apps do not return the same value (like when an
attribute is not settable for instance) ?
Jirome
_______________________________________________
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.