I'm using ShDocVw
interop assembly to get to InternetExplorer
objects.
foreach(InternetExplorer IE in new ShellWindowsClass())
{
Console.Log(IE.HWND.ToString() + Environment.NewLine);
}
The result is - all the tabs of same window report HWND
equals MainWindowHandle
of that window`s process. In fact, I cannot find any distinct information in these objects that would differentiate them from one another.
And i need to correlate these instances to real tabs in order to match them to windows events (window focus change mostly). Would be great to find a link between this object and corresponding Frame Tab
or TabWindowClass
window instance.
Any ideas how to achieve this?