Setting A Window's Main Attribute In Carbon
Setting A Window's Main Attribute In Carbon
- Subject: Setting A Window's Main Attribute In Carbon
- From: Michael Kamprath <email@hidden>
- Date: Thu, 29 Aug 2002 22:43:17 -0700
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. I'm suspecting this is because the Accessibility API is
still "young". However, are there any work arounds I can use *now* to be
able to change the current front window in Carbon applications?
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.