BerndH
Posts: 99
Joined: 2014-09-23
|
Hi,
if my outlook has more than one addon listening to an outlook event,
will they all react e.g. on newinspector event, or just one?
Bernd |
|
Andrei Smolin
Add-in Express team
Posts: 18823
Joined: 2006-05-11
|
Hello Bernd,
Outlook, Excel and all other Office applications raise their events for all listeners. The order in which the listeners are triggered should be the order in which the listeners get connected to events. Typically, add-ins connect to events at startup and thus they get connected in the order in which Office loads them; that seems to be the alphabetical order of add-ins' ProgIDs.
A way to change the connection order (e.g. when investigating an issue) is to turn off an add-in and then turn it on during the same session.
A listener may cancel an event (if it is cancellable). In this case, other listeners won't receive the event.
Andrei Smolin
Add-in Express Team Leader |
|