Re: kAXMainAttribute always settable for carbon apps too
Re: kAXMainAttribute always settable for carbon apps too
- Subject: Re: kAXMainAttribute always settable for carbon apps too
- From: Eric Schlegel <email@hidden>
- Date: Thu, 20 Feb 2003 08:12:31 -0800
On Thursday, February 20, 2003, at 08:07 AM, Matt Gough wrote:
So I guess it is really a fault in Carbon's understanding of
kAXMainAttribute. My understanding (and Cocoa's by the look of it) is
that
only windows which can be considered the 'centre of attention' can be
Main.
Yes, that's the general idea, but that's a pretty vague definition,
especially in light of custom WDEFs and custom window frames. For
example, you could have a window in an app (let's call it "iSongs")
that uses a custom window definition to draw a document-style window
frame into a plain window. There's no way for Carbon to know whether
that window can be the center of attention.
However, we could probably at least look at the window activation
scope, and if it's kWindowActivationScopeAll, figure that this is
likely to be a document-style window that can appropriately be made
main.
-eric
_______________________________________________
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.