|
Re: Help for MSAA: msg#00020mozilla.accessibility
Hi I've played around with the inspector object as well as witht he accessibility explorer to double check the window i have is correct. Say, for example i open google in firefox. I manage to get the window for the search (editable text) then according to the docs, i'm suppose to find window with control id of 1 which is a child of that editable text n put it into the AccessibleObjectfromWindow(). Obviously it did not work (argument invalid). I then tried with AccessibleObjectFromEvent() and it works. Next step i tried is to call the service provider. IServiceProvider *pServProv = NULL; pAcc->QueryInterface(IID_IServiceProvider, (void**)&pServProv); ISimpleDOMNode *pSimpleDOMNode; if (pServProv) { const GUID refguid = {0x0c539790, 0x12e4, 0x11cf, 0xb6, 0x61, 0x00, 0xaa, 0x00, 0x4c, 0xd6, 0xd8}; HRESULT result = pServProv->QueryService(refguid, IID_ISimpleDOMNode, (void**)&pSimpleDOMNode); if (SUCCEEDED(result) && pSimpleDOMNode != NULL) { MessageBox(NULL,"gd riddence!", MB_OK); /* This is a Mozilla node! Use special ISimpleDOMNode methods described in ISimpleDOMNode.idl. */ } } no service was to be found. |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Help for MSAA: 00020, Ralph Thomas |
|---|---|
| Next by Date: | EUAIN Workshop, 12th May: 00020, Neil McKenzie |
| Previous by Thread: | Re: Help for MSAAi: 00020, Ralph Thomas |
| Next by Thread: | Re: Help for MSAA: 00020, Aaron Leventhal |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |