I am looking for a way using the SendMessage API or something along those lines to activate a different Tab from an external application, so I can detect if a URL is already open and restore that instance of IE and automatically switch to the proper tab.

IE7 Tabs
ttad
lib_team
Hi Michael,
There are not specific APIs for automating tabs in IE7. You can you accessibility APIs to activate different tabs. We are looking at this area for future development and it would help to understand exactly what you'd liek to see here.
Thanks
-Dave
R.Tutus
enric vives
I have the exact same problem!
I can get the last opened TAB, but that doesn't help me much:(
I'll subscribe to this post to see if you get a solution.. I hope!
Mortsdeh
IECUST...
Would have to be C#.
Drakuz
Clyde...
Wow...your right. Looks like I'll finish it then. One click is the only way to go.
Ringo21
Mark A. Richman
I would like to see a way to save a TAB GROUP and then go to Favorites->TAB GROUPS->my group and reopen all the tabs that I had saved in that group (I watch several codeplex projects of mine as well as several msdn forums, when my son reboots because his game crashes I have to manually open all those sites again:(
BrianFerguson
Clyde,
I thought that was a good idea...so I spent the day writing a band object that launched tab groups from favorites.
Then I looked in IE 7 favorites...it already has this feature! lol.
tirengarfio
Hi, the SPYXX utility (VS.net>Tools menu) lists the windows heiarchy under the top container (in IE7's case classname="IEFrame") under which are the windows with a classname of TabWindowClass, so to count the number of open tabs enum the windows under the top IEFrame window and count those with a classname of TabWindowClass.
You should be able to use the same method to locate and activate a non-active tab, though I have not tried this method myself... maybe the SendMessage api (though there are no documented WM values for show tab) or maybe the ShowWindow api.
Regards.
johnny_no1_boy
RostaB
FP.Three
I want to activate the tab as well.
I am printing document , it works fine with IE 6 but when it comes to IE 7 it prints all tabbed windows open in my current IE instance.
What I want is , I want to print only currently active TAB.
Please help me.
BillP Studios
Hi CableHead,
If you are looking for a job, I am afraid that I can't offer you one... hell I need one too.
What I would like to proposition you with though is a combined effort to write a BHO for IE6 and IE7 in C++ or ATL. It would require a moderate skills level in either one of these languages and also some API and Callback usage.I already have an established customer base and a web site http://www.iecustomizer.com and could offer you a cut of the sales in return for your efforts. This may turn out to be a practicle use of your idle time.
Initially please go to http://www.iecustomizer.com/ url=contact.asp and send us your contact details (email, Messenger ID, ICQ or Yahoo Messenger ID's) so that we can establish a dialog.
Regards.