iaccessible

How to access a document's HTML in Firefox using IAccessible

I can get an IAccessible object from a Firefox window using this code: Guid guid = new Guid("{618736E0-3C3D-11CF-810C-00AA00389B71}"); object obj = null; int ret = AccessibleObjectFromWindow(hWnd, (uint) OBJID.WINDOW, ref guid, ref obj); Accessibility.IAccessible acc = (Accessibility.IAccessible)obj; However, I'm not sure where t...

Retrieving the control's handle (HWND) in Microsoft Active Accessibility.

I want to get the HWND for a given control. I'm using Active Accessibility API to traverse the control hierarchy for a given window. If I call WindowFromAccessibleObject when I find the control I want, it returns a HWND to the window itself and not the control. I think this is because it is using the parent IAccessible pointer and not t...

MSAA COM-based ?

Hi there, I'm wondering if MSAA is COM-based, then one should be able to use CreateObject("Accessibility") to create an instance and call its methods. I had no success doing that. I have "OLEACC.DLL" in SYSTEM32 and it's registered with Windows. But the CreateObject fails. Any thoughts? I would like to use functions like AccessibleObj...

Accessing Mozilla's ISimpleDOMNode by using IAccessible

I have the following code: IAccessible *pAccessible = NULL; IServiceProvider *pServProv = NULL; AccessibleObjectFromWindow((HWND)0x0025093A, OBJID_CLIENT, IID_IAccessible, (void**)&pAccessible); HRESULT hr = pAccessible->QueryInterface(IID_IServiceProvider, (void**)&pServProv); if (SUCCEEDED(hr) && (pServProv != NULL)) { const GUI...