H
Hans-Joerg Propach
I develope an Outlook Com-Addin that needs a Commandbar with some
CommandbarButtons in mail- and contact-inspectors.
I use the NewInspectorEvent, check the type of the item and add the
commandbar and commandbarbuttons with temporary=true, so they are visible
only in this inspector.
Because of "temporary=true" i have to check every new inspector if the
commandbar already exists (normaly not) and add the bar and the buttons.
My problem: I have a global Object Commandbarbutton declared "withevents",
and everytime i get a newinspectorevent, iset it to the new created
commandbarbutton so i can get the users mouseclick. But when the user opens
several inspector windows, how can i be sure that the different
commandbarbuttons (remember, i create them often because of temporary=true)
fire the event ? Is every commandbarbutton with the same tag the same
commandbarbutton ???
On my dev-System everything works fine, but i can't believe it will work in
a user enviroment (user opens mail, opens word, opens another mail etc., and
then every of my for every inspector created commandbarbuttons fires the
event ???).
Thank for any idea,
Hans-Jörg "Keke" Propach, GIID
CommandbarButtons in mail- and contact-inspectors.
I use the NewInspectorEvent, check the type of the item and add the
commandbar and commandbarbuttons with temporary=true, so they are visible
only in this inspector.
Because of "temporary=true" i have to check every new inspector if the
commandbar already exists (normaly not) and add the bar and the buttons.
My problem: I have a global Object Commandbarbutton declared "withevents",
and everytime i get a newinspectorevent, iset it to the new created
commandbarbutton so i can get the users mouseclick. But when the user opens
several inspector windows, how can i be sure that the different
commandbarbuttons (remember, i create them often because of temporary=true)
fire the event ? Is every commandbarbutton with the same tag the same
commandbarbutton ???
On my dev-System everything works fine, but i can't believe it will work in
a user enviroment (user opens mail, opens word, opens another mail etc., and
then every of my for every inspector created commandbarbuttons fires the
event ???).
Thank for any idea,
Hans-Jörg "Keke" Propach, GIID