msaa

How to Automate simple Windows Form Application using MSAA?

徘徊边缘 提交于 2021-02-19 06:45:08
问题 I want to automate simple Windows Application using MSAA. I am not getting Idea that how to find the control (say TextBox and Button ) and to get value of them(say get value of TextBox and click in case of button). 回答1: Why do you want to automate using MSAA? Microsoft's current way is UI Automation. From Wikipedia (emphasis mine): UIA is similar to Microsoft Active Accessibility (MSAA) in that it provides a means for exposing and collecting information about user interface elements and

How to check two IAccessible are Identical at runtime?(At C++ side)

落爺英雄遲暮 提交于 2020-06-01 05:12:07
问题 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 time. 2.the simplest way to compare these two object is compare the address, but I failed. Anyone can show me an example or give me a hint? Thanks very much! 来源: https://stackoverflow.com/questions/61937422/how-to-check-two-iaccessible-are

A tool for browsing accessibility tree of an application

自闭症网瘾萝莉.ら 提交于 2020-01-02 12:40:15
问题 I have been making scripts for screen readers (e.g. JAWS) and often have to dig into its window hierarchy (MSAA, UIA etc). I usually use the old AccExplorer32 app, but it is not optimal (the hierarchy usually does not correspond to the one generated by screen readers, plus search in the tree is very limited). Is there a better app for browsing accessibility hierarchies? It should: have good search capabilities (ideally you could search all accessibility fields) generate windows trees as close

MSAA UI Automation get_accChildCount Incorrectly Returning 0 for Infragistics UltraTree in Winforms

一个人想着一个人 提交于 2019-12-29 09:53:38
问题 While working on automating an Infragistics UltraTree control in a C# Winforms application I found that the UltraTree implemented the AccessibleObject model (MSAA). I was able to successfully grab the IAccessible interface by putting the hwnd grabbed from spy++ into IAccessible* accessibleObject; AccessibleObjectFromWindow(hwnd, OBJID_CLIENT, IID_IAccessible, (void**)&accessibleObj); The problem is that when I now call long childCount; accessibleObj->get_accChildCount(&childCount); The result

MSAA UI Automation get_accChildCount Incorrectly Returning 0 for Infragistics UltraTree in Winforms

Deadly 提交于 2019-12-29 09:53:06
问题 While working on automating an Infragistics UltraTree control in a C# Winforms application I found that the UltraTree implemented the AccessibleObject model (MSAA). I was able to successfully grab the IAccessible interface by putting the hwnd grabbed from spy++ into IAccessible* accessibleObject; AccessibleObjectFromWindow(hwnd, OBJID_CLIENT, IID_IAccessible, (void**)&accessibleObj); The problem is that when I now call long childCount; accessibleObj->get_accChildCount(&childCount); The result

MSAA UI Automation get_accChildCount Incorrectly Returning 0 for Infragistics UltraTree in Winforms

那年仲夏 提交于 2019-12-29 09:52:33
问题 While working on automating an Infragistics UltraTree control in a C# Winforms application I found that the UltraTree implemented the AccessibleObject model (MSAA). I was able to successfully grab the IAccessible interface by putting the hwnd grabbed from spy++ into IAccessible* accessibleObject; AccessibleObjectFromWindow(hwnd, OBJID_CLIENT, IID_IAccessible, (void**)&accessibleObj); The problem is that when I now call long childCount; accessibleObj->get_accChildCount(&childCount); The result

openGL render to texture in iPhone fails when MSAA is enabled

浪子不回头ぞ 提交于 2019-12-24 01:44:30
问题 My render to texture iPhone code only works if I disable MSAA, otherwise all I get is a black texture. What could be the cause of the problem? Here is my code: glViewport(0,0, target->_Width, target->_Height); glClear(GL_COLOR_BUFFER_BIT Or GL_DEPTH_BUFFER_BIT Or GL_STENCIL_BUFFER_BIT); glBindTexture(GL_TEXTURE_2D, target->_Handle); // render stuff here glCopyTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 0, 0, target->_Width, target->_Height, 0); glBindTexture(GL_TEXTURE_2D, 0); 回答1: Apparently, when

Can linear filtering be used for an FBO blit of an MSAA texture to non-MSAA texture?

☆樱花仙子☆ 提交于 2019-12-23 16:34:22
问题 I have two 2D textures. The first, an MSAA texture, uses a target of GL_TEXTURE_2D_MULTISAMPLE . The second, non MSAA texture, uses a target of GL_TEXTURE_2D . According to OpenGL's spec on ARB_texture_multisample, only GL_NEAREST is a valid filtering option when the MSAA texture is being drawn to. In this case, both of these textures are attached to GL_COLOR_ATTACHMENT0 via their individual Framebuffer objects. Their resolutions are also the same size (to my knowledge this is necessary when

Creating a swap chain with MSAA fails

不打扰是莪最后的温柔 提交于 2019-12-12 00:53:52
问题 When I try to setup a swap chain with MSAA support I get an DXGI_ERROR_INVALID_CALL error - here is the code that creates the swap chain: // Describe and create the swap chain. DXGI_SWAP_CHAIN_DESC1 swapChainDesc = {}; swapChainDesc.BufferCount = frameCount_; swapChainDesc.Width = static_cast<UINT>(rsd.width); swapChainDesc.Height = static_cast<UINT>(rsd.height); swapChainDesc.Format = DXGI_FORMAT_R8G8B8A8_UNORM; swapChainDesc.BufferUsage = DXGI_USAGE_RENDER_TARGET_OUTPUT; swapChainDesc

Creating Accessible UI components in Delphi

ε祈祈猫儿з 提交于 2019-12-10 18:54:11
问题 I am trying to retrieve accessible information from a standard VCL TEdit control. The get_accName() and Get_accDescription() methods return empty strings, but get_accValue() returns the text value entered into the TEdit. I am just starting to try to understand the MSAA and I'm a bit lost at this point. Does my TEdit need to have additional published properties that would be exposed to the MSA? If so would that necessitate creating a new component that descends from TEdit and adds the