How to set ADXCommandBarButton.State for all explorer instances

Add-in Express™ Support Service
That's what is more important than anything else

How to set ADXCommandBarButton.State for all explorer instances
 
Markus Welker


Guest


Hi,

I have an ADXCommandBarButton within the menu bar of the Outlook explorer.
I use the State property of the button to set the button checked according to a state within my data model.

I would like to change the state for the button in all explorer instances, since the state within my data model is a global one, i.e. holds for all explorer windows.

How do I do that?

All I have at the moment is the ADXCommandBarButton instance which I have created within the AddinModule class, using the Visual designer.
When I set the state for that instance, the button in the active explorer gets the right state, but in all other open explorer windows, the state just remains as it is.


Thanks and regards!
Posted 04 Apr, 2007 16:50:40 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Markus.

I would suggest you to synchronize the state in the InspectorActivate event handler when you switch between opened inspectors.


P.S. Note that we take up your forum requests in the order we receive them. Besides, it may take us some time to investigate your issue. Please be sure we will let you know as soon as the best possible solution is found.
Posted 05 Apr, 2007 11:04:37 Top