Oleg Krupnov

Hi,

In a Word Template solution, I have created a custom CommandBar and a CommandBarButton on it in the DOT file.

When my solution starts, I locate that commandbar and the button and connect an event handler to the Click event.

The problem is that when the user clicks the button several times pretty fast, the event handler gets called more times than he actually has clicked it. For example, when he double-clicks the button, the event handler is called 3 times. This sticky effect is pretty annoying for the user.

I have created an empty new solution and the problem reproduced.

Please advise. Thanks