RadicalKoncepts 1 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 Share this post Link to post Share on other sites