Is there an API for Tabs?
- From: "Günter Prossliner" <g.prossliner/gmx/at>
- Date: Mon, 26 Nov 2007 12:02:07 +0100
Hello NG!
I'm looking for a Way to
1. enumerate the currently opened Tabs of a specific IE - Instance and get
the Location of the loaded Document(s).
2. programmaticly open a new Tabs and open a Document by it's URL.
Background:
I want to write a small BOH (or whatever else is able to do this) which
allows me to save the collection of the opened Tabs (primary the URL) into a
file, and which allows the user to open this file later, which shall restore
all Tabs that are saved within the file.
The MSDN docs which I've already read never mention an API for Tabs. Because
Tabs are implemented as seperate browsers (from the API point of view), I
conclude that by using the default Hosting API it would not be possible. Am
I right?
The only possible solution that I can think of is:
1. find the Windows behind the Tabs by using FindWindow (starting from the
HWND which can be retrieved by the API).
2. to load specific tabs, I would enter them as Homepages into the Registry,
simulate a "Home" command, and restore the original Homepage Settings.
But this solution (even if would possible) would be very awfull and maybe
would break at the next SP or IE Bug-Fix.
Maybe there is an API for that that I have not found. Any hints?
If anybody already knows such Add-In I would use this instead of writing one
by my own. Anybody know such tool?
Thanks!
GP
.
- Follow-Ups:
- Re: Is there an API for Tabs?
- From: Igor Tandetnik
- Re: Is there an API for Tabs?
- Prev by Date: Re: Open a resource in current window instead of in a New Window
- Next by Date: Re: Is there an API for Tabs?
- Previous by thread: Open a resource in current window instead of in a New Window
- Next by thread: Re: Is there an API for Tabs?
- Index(es):
Relevant Pages
|