Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

Fetch title of each tab open in Internet Explorer 9

$
0
0

How do I get the title text displayed for each tab open in IE9 or older ?

Steps -

  1. EnumWindows() to get all 'shell' windows
  2. For each shell window found in step1, filter out with window class as 'Internet Explorer_Server' using EnumChildWindows() to get 'HWND' of each tab
  3. Now we when call GetWindowText(hWnd) or use SendMessage(WM_GETTEXT) it does not return anything
  4. Did come across a forum, that says HWND found above is not the real HWND since we are dealing with Internet Explorer which is a 'control' and not a normal window. This is unconfirmed though

How do I get the title of each tab?

There is alternate way to load HTML document for each tab and get the title text but want to avoid it since it is expensive operation.


Thank You


Viewing all articles
Browse latest Browse all 3527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>