I am trying to figure out how I can capture all the window messages of a process / window since it started in C #. This process would not be my own, so I would have to use some kind of hook. My goal is to start collecting all messages in real time from the moment the original window was created until the applications exit and all messages are displayed in a text box or file. So, basically since application execution.
Since I want to capture it from the moment it starts, I probably won’t have a window handle, as it will not be processed yet. Therefore, I believe that this can be difficult.
Is their an app that does this that I can use for reference? I want all messages to come in the application.
source
share