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

Complex providers structure in one hwnd-control

$
0
0
Hello, I have 1 hwnd-control, but I want it to appear in such structure: base-root-element -> root-elements -> simple-elements.

base-root-element is a menu (imp. FragmentRoot, ProviderFragment, ProviderSimple)
root-elements are groups (imp. FragmentRoot, ProviderFragment, ProviderSimple)
simple-elements are menuItems (imp. ProviderFragment, ProviderSimple)

I have a problem: what I must return in get_HostRawElementProvider in root-elements (groups)? This provider implements areIRawElementProviderFragmentRoots, but they have no hwnd-control (so, I can not use UiaHostProviderFromHwnd), and it can not return NULL.

May be someone have an example of implementing such providers-structure in one hwnd-control?

Viewing all articles
Browse latest Browse all 585

Trending Articles



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