Sunday, February 7, 2010

Outlook CommandBarButton events

Hey guys!

CommandBars in Outlook (probably Word and all the others too, haven't checked) seem to fire the same click handlers of similarly tagged buttons on CommandBars with the same name. So that means if you have an Explorer command bar named the same thing as an Inspector command bar, and you add a click handler to similar buttons on it, both click handlers will fire for both buttons.

I guess the point I'm trying to make is that the Name of the CommandBar is important! I wish I knew this ages ago!

That is all.

No comments: