access to all toolbar instances (IE)

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

access to all toolbar instances (IE)
 
Michael M




Posts: 11
Joined: 2008-02-07
hi,

how can i access or at least send event from one toolbar instance to others?

thanks,
michael
Posted 16 Mar, 2008 17:55:57 Top
Sergey Grischenko


Add-in Express team


Posts: 7187
Joined: 2004-07-05
Hi Michael.

The number of tool bar instances is equal to the number of IE modules.
To access the module you can use the Module property of the toolbar class.
To access the Toolbars collection of all modules you can use the following methods of the ADXIEModule class: GetModuleCount, GetModuleByIndex, GetModuleByThread, GetModuleIndex.
Also please see the source code of the Advanced Search for Internet Explorer example:
http://www.add-in-express.com/downloads/mapi-store-events.php
Posted 17 Mar, 2008 11:15:19 Top