logo       

Re: Help for MSAA: msg#00012

mozilla.accessibility

Subject: Re: Help for MSAA

I need to update the docs, will do that as soon as I can.

The control ID system is no longer relevant. First of all, make sure you're using a nightly build, because that is what Firefox 1.1 will be based on this summer, and the MSAA implementation is much better.

http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/

You can use AccessibleObjectFromWindow on any window in Firefox 1.1. The content window will have a class of MozillaContentWindowClass. The UI windows use MozillaUIWindowClass. There is also MozillaContentFrameWindow class for frames and iframes, and MozillaWindowClass for filler windows.

- Aaron



Atiz wrote:
From "Gecko Info for Windows Accessibility Vendors"

" When you get a MozillaWindowClass window focused, keep moving to the
first cild if it has a control ID of 0. If it has a contro ID of 1,
find the first ancestor that also has a control ID of 1. This is where
you should start when using MSAA to get the content tree for a Mozilla
application."

Can anyone tell me step by step what to do? I've gotten the hWnd whose
classname is MozillaWindowClass. I did a search to find the child with
control ID of 1 already. But it does not make sense to me to find back
teh ancestor with control ID of 1 cos if I do that, I obviously get
back teh prev parents until the root which all has control ID of 0.

Hence, the AccessibleObjectFromWindow() keeps returning me argument
invalid. :(

Can anyone help me with that? explain to me how to go about doing it.
Thanks alot.



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise