How to obtain LegacyIAccessible.State and others LegacyIAccessibles of AutomationElement with C# ? just like Inspect.exe from tools makes it.
相关问题
- Sorting 3 numbers without branching [closed]
- Graphics.DrawImage() - Throws out of memory except
- Why am I getting UnauthorizedAccessException on th
- 求获取指定qq 资料的方法
- How to know full paths to DLL's from .csproj f
The
LegacyIAccessible
is new and is not available in the .NET level as is in .NET 4.0. But there is a project on CodePlex that has a newer implementation that in change set 38718 added support for this.Be beware that you have to compile the project from source, the latest binary release is too old to contain this unfortunately...
What you want to do is something like:
The comments in the source code says that these are new features for Windows 7, but I get it to work on Windows XP SP3...
Hope this helps!
/AZ