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: Michael Kamprath <email@hidden>
- Date: Sat, 31 Aug 2002 12:38:02 -0700
on 8/31/02 12:05 AM, Jirome Foucher at email@hidden wrote:
>
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.
Then would it be a bug that AXUIElementIsAttributeSettable returns false for
the AXMinimized attribute when the current value of the attribute is false?
What is the purpose of AXUIElementIsAttributeSettable method then?
Michael F. Kamprath
email@hidden
Keyboard Maestro - Conduct Your Mac Like a Pro!
Download a free copy today at: www.KeyboardMaestro.com
_______________________________________________
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.