Sanjay Singh
2004-12-13 03:32:35 UTC
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 uses the
Previous and Next buttons in an open Inspector to move between e-mails then
extra buttons get added 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 uses the
Previous and Next buttons in an open Inspector to move between e-mails then
extra buttons get added 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