B
Brunwin
I have two toolbars I've implemented in Outlook using VSTO 2005 SE - one
inspector commandbar and one explorer commandbar. At the moment they both
launch when the relevant window is launched and add themselves to the
commandbars list.
The flaw with this is that when the user right clicks on the toolbar area
and unticks my commandbar, hiding it, then shuts Outlook and reopens it my
commandbar naively reloads itself into the toolbar area. Really it should
wait until the user re-ticks it's name before it appears. To be able to do
this I'd need to be able to either detect whether my commandbar is visible or
detect when my commandbar is hidden and when it is made visible. I can't
seem to identify within the VSTO 2005 API a way to do this. I presume though
that this is something that a commandbar should support so I expect I'm just
not finding the right way to do it.
Does anyone know how I should be doing this and what properties/events I
need to use for it?
Thanks in advance
inspector commandbar and one explorer commandbar. At the moment they both
launch when the relevant window is launched and add themselves to the
commandbars list.
The flaw with this is that when the user right clicks on the toolbar area
and unticks my commandbar, hiding it, then shuts Outlook and reopens it my
commandbar naively reloads itself into the toolbar area. Really it should
wait until the user re-ticks it's name before it appears. To be able to do
this I'd need to be able to either detect whether my commandbar is visible or
detect when my commandbar is hidden and when it is made visible. I can't
seem to identify within the VSTO 2005 API a way to do this. I presume though
that this is something that a commandbar should support so I expect I'm just
not finding the right way to do it.
Does anyone know how I should be doing this and what properties/events I
need to use for it?
Thanks in advance