Quantcast
Channel: Windows Desktop Development for Accessibility and Automation forum
Viewing all articles
Browse latest Browse all 585

All the controls suddenly turned to ControlType.Pane

$
0
0
My application is using Microsoft UI Automation to build a tree that shows the different controls, their name and values. This works fine. However every so often something happens, not able to pinpoint why, but all the controls are of type ControlType.Pane. When I use Inspect they show their real types (e.g. ControlType.Button or ControlType.Edit), but through my app all the controls return type as ControlType.Pane. Even the localize control type name is Pane. 

Why is this happening? Not sure if this is an MS UIA bug or something that I am doing? Please help.

Viewing all articles
Browse latest Browse all 585

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>