简体   繁体   中英

Only LegacyIAccessible pattern available in DevExpress

I want to create some interactions between my automation app and DevExpress controls, but it seems the only pattern most of them support is LegacyIAccessible pattern, without default action even defined. So my question is - how can I click on that element when there is no way to call InvokePattern? Can I do it using only available? I'm using UIA Com Wrapper.

In the worst case, you can always use SendInput to generate mouse clicks. You can use the BoundingRectangle property to get the bounds, and then use the midpoint for a clickable point. (I'm assuming that the ClickablePoint property isn't set either.)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM