Get Information About Active Tab in IEToolBar

Add-in Express™ Support Service
That's what is more important than anything else

Get Information About Active Tab in IEToolBar
Get Information About The Tab Which Is Active 
Ra Ang




Posts: 10
Joined: 2019-09-12
Hi,

I have created add-on for Internet Explorer. In the add-on I have added a toolbar (ADXIEToolbar).
I have multiple tabs open in Internet explorer.
I want to know which tab is active and its information like its index, url which is browsed in that tab, etc in my toolbar.
Can you please let me know how this can be done?

Thanks,
RA
Posted 07 Jan, 2020 06:51:55 Top
Andrei Smolin


Add-in Express team


Posts: 17367
Joined: 2006-05-11
Hello RA,

Instead of collecting that info when required, you should collect it while your add-on works. To achieve this, you use a broker application, which is a point common for all instances of your IE add-on (every IE tab has a separate instance of your add-on). That is, whenever a meaningful change occurs in a tab (say, it gets activated or it navigates to another url), you call SendDataToBroker() and pass it a bit of information. In the code of the broker you process this info in the way you need, prepare a response, and send it to the caller.

Check section Protected Mode; see the PDF file in the folder {Add-in Express}\Docs on your development PC.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 08 Jan, 2020 07:14:00 Top