I am using the ShDocVw
interop assembly to access InternetExplorer
.
foreach(InternetExplorer IE in new ShellWindowsClass()) { Console.Log(IE.HWND.ToString() + Environment.NewLine); }
Result - all tabs of one report of the HWND
window are equal to MainWindowHandle
this window process. In fact, I cannot find any separate information in these objects that would distinguish them from each other.
And I need to match these instances with real tabs in order to match them with Windows events (mainly window focus change). It would be great to find a relationship between this object and the corresponding instance of the Frame Tab
or TabWindowClass
.
Any ideas how to achieve this?
source share