I want to make a program (program 1) that will click a toolbar button on another program (program 2), and for that I want to use UI Automation.
Question:: How do I find the window of another program (program2) with UI Automation? Please show me the function you would use and possibly the header you need for that function to be available.