I'm working on a project in which I want my program to be notified when Internet Explorer gets focus or when navigating through tabs. To be clearer when an instance of IE gets focus or the user selects another tab, I want my program to be notified.
I just tried to do this using AutomationFocusChangedEventHandler
as I mentioned in my previous question: AutomationFocusChangedEventHandler does not always fire . But it seems not to be working appropriately with tab interactions.
(It seems my previous question was very specific, So I tried to make it more general)
So I want to know if there is a way that my application can be notified when Internet explorer gain focus or the user selects different tab in the same instance of IE?
Or if it is still very specific, Is there any way which my program can be notified when focus changed?