microsoft-ui-automation

Can I get a bitmap of an arbitrary window in another application process?

I am trying to automate a third-party Win32 application where I want to capture the graphics content of a particular window at defined time intervals. I am in the early phases of this, and I'm currently trying to use the Microsoft UI Automation API via C# to do most of the interaction between my client app and the external app. I can n...

Monitoring button clicks using UI Automation Framework

Hi All, I am trying to use UI Automation Framework to monitor button clicks in my WPF app.I got hold of the individual buttons in my applications, but it seems that I can only call the Invoke method on my button. So my question is can the UI Automation Framework be used to monitor clicks on buttons or is it only to simulate the clicks?...