Injecting Mouse Input in WPF Applications

前端 未结 3 1303
小鲜肉
小鲜肉 2020-12-15 01:29

I\'ve been working on injecting input into a WPF application. What makes this project hard is that I need to be able to inject the input into the application even though it\

3条回答
  •  独厮守ぢ
    2020-12-15 02:01

    Use UI Automation to do this - trying to manually simulate input via window messages is a textbook mistake, like trying to start a land war against Russia.

提交回复
热议问题