S
Sanjay Singh
I have created an addin using wrapper classes etc and it all works great
except ...
I add toolbar buttons to the Standard toolbar on a NewInpsector event. Each
button is given a unique tag to prevent the "multiple button click problem"
if more than one inspector is opened.
It all works as expected. My problem however is that if the user uses the
Previous and Next buttons,inan open Inspector to move between e-mails, then
extra buttons get added to the toolbar because a NewInspector event is fired
each time.
What can I do to make sure that I only add a new button when a real new
inspector is created?
Thanks in advance
Sanjay
except ...
I add toolbar buttons to the Standard toolbar on a NewInpsector event. Each
button is given a unique tag to prevent the "multiple button click problem"
if more than one inspector is opened.
It all works as expected. My problem however is that if the user uses the
Previous and Next buttons,inan open Inspector to move between e-mails, then
extra buttons get added to the toolbar because a NewInspector event is fired
each time.
What can I do to make sure that I only add a new button when a real new
inspector is created?
Thanks in advance
Sanjay