Re: Setting A Window's Main Attribute In Carbon
Re: Setting A Window's Main Attribute In Carbon
- Subject: Re: Setting A Window's Main Attribute In Carbon
- From: Michael Kamprath <email@hidden>
- Date: Fri, 30 Aug 2002 08:20:34 -0700
on 8/30/02 12:54 AM, Jirome Foucher at email@hidden wrote:
>
On vendredi, ao{ 30, 2002, at 07:43 Europe/Paris, Michael Kamprath
>
wrote:
>
>
> I have written a program that utilizes the Accessibility API to get a
>
> list
>
> of an application9s window, and then change which window is the current
>
> front window by setting the window9s kAXMainAttribute to
>
> kCFBooleanTrue.
>
> This technique works in all Cocoa applications, but does not work in
>
> any
>
> Carbon applications.
>
>
Yep, that's exactely the problem I have....
>
>
Have you tried setting the kAXMainWindowAttribute for the application
>
instead ? (I haven't tried yet myself, but that's the next thing on the
>
to-do list)
>
>
Jirome
Yes, but setting the application's kAXMainWindowAttribute attribute does not
work for Carbon applications either. :-(
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.