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
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