windows-events

Capture events and windows messages from one application to other.

I have a small windows application named X with a textbox and a button. This application could be a classic vb-6 application or a VC++ application. In my .net application I want to capture the button click event of the application X and get the value of textbox in X application. However I cannot change anything in application X. How do ...