I have a desktop application in wpf than open a new external process (exe).
I can detect this external process window is opened/closed with:
Automation.AddAutomationEventHandler(WindowPattern.WindowOpenedEvent,...
But... how to detect new events inside this window? For example, inside the windows, when a new dialog is shown, like print settings subwindow.
Thank you
Regards