RadicalKoncepts Posted June 12, 2019 Posted June 12, 2019 I am looking out of a sample to get contents of a ListBox using UIAutiomation. I tried using WinAPI and have no luck(as getting control handle at runtime using ControlGetHandle returns 0x0000000). This listbox is like context menu that appear on click on a button, populated with text items. Note - I used SimpleSpy and was able to select one item. However since the list contents are more, I prefer to make it generic to look for a item name and click based on my requirement. Any ideas to approach
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now