Event for right clicking on toolbar area?

F

fbs 419

I have added a new toolbar to our addin. It is activated by right clicking on the toolbar area and checking it (or saying customize and checking).

I have a lot of code that runs because of this, and I only want it to run if the toolbar is visible. Because of this, I would like to trap the event when the user activates the toolbar. I have tried _CommandBarsEvents::OnUpdate, but that didn't seem to do it.

Is there a way to trap when the user right clicks here to activate a new toolbar?

Thanks
 

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