Intercepting click event for all controls in an app in C# (WinForms)

前端 未结 4 817
不思量自难忘°
不思量自难忘° 2021-01-02 23:01

I want to make an application to intercept all UI events in all the forms of my application and to write them to a log. This data can than be used to see which controls are

4条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-02 23:10

    You will have to work with the Win32's API Messages, I guess.

    Here's a little example under the form of tutorial.

提交回复
热议问题