Questions tagged [iaccessible]
32 questions
1
vote
1 answer
MSAA COM-based?
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…

kamilimak
- 13
- 3
0
votes
0 answers
Processing the full MSAA accessibility tree in C# returns nulls and ints
We want to process the complete accessibility tree of another process. Normally we do this in C++ but we would prefer to move to C#.
We successfully start the process using AccessibleObjectFromWindow.
We then successfully get the children of this…

Colin Armitage
- 1
- 1
0
votes
0 answers
Iaccessible interface , call to accChild[] does not give child element name , accChildCount returns the count properly
I have written the below functions in C# (GetObjectByName and GetAccessibleChildren) by calling oleacc.dll. I am not able to understand when there is child of child items, it is not getting their name, i get the error "entry point not found" in…

h_curious
- 1
- 1
0
votes
0 answers
Can someone provide a working example using AccessibleChildren in VB.NET?
I have been trying for months to work with the AccessibleChildren function in VB.Net, but I can't make it happen...
Can someone provide a working example of an application of AccessibleChildren that returns something meaningful?

Ricardo
- 1
- 2
0
votes
1 answer
Get caret position using Active Accessibility (MSAA)
Can anyone give an example of using the MSAA in order to get the caret position (text insertion point and not the cursor).
MSDN on MSAA
Thanks for any help,
Momico

Momico
- 85
- 1
- 8
0
votes
1 answer
Does there exist a way to search for if an IUIAutomationElement specified name contains whitespace?
I found that if I search an IUIAutomationElement whose name contains whitespace, the FindFirst method returns nullptr, instead of the correct answer.
uiaPtr->CreatePropertyCondition(UIA_NamePropertyId, _variant_t(L"Alisha Chinai"),…

JYP2011
- 23
- 5
0
votes
0 answers
How to check two IAccessible are Identical at runtime?(At C++ side)
How to check two IAccessible are Identical at runtime? It seems that there is no method provided by MSAA.
I know that
1.we can check multi property of these two IAccessible object, but stirng cmp/string get/role get/role cmp/... may consume lots of…

JYP2011
- 23
- 5
0
votes
0 answers
P/Invoke cannot return IAccessible from unmanaged code, It always return null
I use the following unmanaged code to search an IAccessible in an IAccessible tree, but the return IAccessible ansIacc in the managed side is always null.
unmanaged code(callee):
extern "C" __declspec(dllexport) HRESULT search(IAccessible * parent,…

JYP2011
- 23
- 5
0
votes
0 answers
IAccessible's accDoDefaultAction ignored by ROLE_SYSTEM_PUSHBUTTON
im currently working with IAccessible and try to automatically click and do some stuff.
It works fine for several Pushbuttons, Splitbutton and other elements.
The last element is a Windows Systemsetting which is a…

Emanuel
- 8,027
- 2
- 37
- 56
0
votes
1 answer
Unable to recognise the properties of a third party grid contorl using IAccessible interface
I have a grid control in my language which needs to be recognised as a grid (or table) control in order to get its all properties, when I'm using accexplorer32, it's recognising the grid as a valid table and giving back all properties, where I try…

Akhilesh
- 1
- 1
0
votes
2 answers
Get text selection with IAccessible
I tried to find an example for that, but I failed. Can someone tell me what method to use to get the current text selection. I know it's possible in .NET 4.. but I want to make it using winapi so I can use it in .NET 2.
EDIT: This is only possible…

blez
- 4,939
- 5
- 50
- 82
0
votes
0 answers
IServiceProvider::QueryService fails with error -2147024809 on Windows server 2008 R2 having IE11
Acquiring the IAccessible pointer to an element within the page or the accessible window of the document for Window class Internet Explorer_Server is successfully using the code (where hwnd is the handle of Internet_Explorer_server)…

Arun Kumar M
- 37
- 7
0
votes
1 answer
Microsoft Active Accessibility, VB6 and Ranorex
Ranorex is a user interface test tool for Windows. If UI elements support Microsoft Active Accessiblity (MSAA) then it can retrieve rich information about the elements, which is very useful for writing test scripts.
We have a lot of legacy code in…

Phil Jollans
- 3,605
- 2
- 37
- 50
0
votes
1 answer
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 =…

Melllvar
- 2,056
- 4
- 24
- 47
0
votes
1 answer
Thread freezes while calling AccessibleChildren
Every now and again my C++ application would walk MSAA tree ofmultiple applications using code based on MSDN example from this page: https://msdn.microsoft.com/en-us/library/windows/desktop/dd317975(v=vs.85).aspx
It worked perfectly, until few…

Rivenris
- 91
- 1
- 8