We are using the System.AddIn structure for creating an application for hosting apps. What we would like is to hook up to the event that a TextBox gets focus in these separate apps.
How can we do that?
I know the processes, so I can access those and maybe listen on the message pump? But how? What messages to listen for and how to determine if that control getting focus is actually a TextBox (WPF type)?
Hope for your help!
For now we are investigating the possibility of using the EventManager.RegisterClassHandler method, to register in the separate appdomain and handle the implementation in the adapter for each developer.