TryGetClickablePoint()使用表(MSAA)控件返回不正确的结果 [英] TryGetClickablePoint() is returning incorrect results with table(MSAA) controls

查看:132
本文介绍了TryGetClickablePoint()使用表(MSAA)控件返回不正确的结果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我看到tryGetClickablePoint在大多数情况下运行良好。但它不适用于表格,MSAA列表控制或银光技术等少数情况。


这是因为应用程序设计不良或来自CUIT方面?


我们需要这个,因为我们要检查控件是否可见。





有关这方面的任何信息都非常感谢!





问候


-Babu

解决方案

嗨Babu


据我所知,Table和List控件没有可点击的点(因为它完全由他们的子项目row / listitem覆盖)。如果你想检查表格控件是否对用户可见,那么你可能想要检查它的边界
矩形并查看它是否在屏幕的边界矩形内。



Hi,


I see tryGetClickablePoint is working good in most of the scenarios. But its not working at few cases like tables, list controsl of MSAA or silverlight technologies.

Is it something because of bad design from application side or bug from CUIT side?

We need this, because we want to check whether the control is visible or not.


Any information on thsi really appreciated!


Regards

-Babu

解决方案

Hi Babu

As far as I remeber Table and List controls does not have a clickable point (because it is covered totally by their child item row/listitem). If you want to check if the table control is visible to the user then probably you might want to check it's Bounding Rectangle and see if it is inside the screen's Bounding rectangle.


这篇关于TryGetClickablePoint()使用表(MSAA)控件返回不正确的结果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆