CommandBars_OnUpdate Event

B

Bodo

Hi,
In my COM Add-in I want to trigger the CommandBars OnUpdate Event to check
that a commandbar button has been added/removed.

Any ideas on how to check this?
 
K

Ken Slovak - [MVP - Outlook]

Trigger the event or handle it when it fires? Any change to a CommandBar
will fire that event so to trigger it you can just do something like move it
and move it back or change enabled or visible status or whatever.

To handle the event just subscribe to it as you would any other event.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top