B
b.alex
Hi,
I've written code that adds items to menus, and it works great. The only
difficulty is in adding to the Tools menu. As soon as documents get open or
closed, Visio appears to be wiping out any modifications to the Tools menu.
I can, for example, add an item to the Tools menu in the application's
custom menu, but the same code applied to the document's custom menu doesn't
work. I've even tried postponing my modification until the VisioIsIdle or
NoEventsPending event after a document is opened. My item still doesn't
appear.
Is there some special behavior of the Tools menu? Is there an event I can
wait for and know that Visio is no longer modifying the menu? Am I on the
wrong track entirely? Any help would be appreciated.
Thank you,
Bob Alexander
I've written code that adds items to menus, and it works great. The only
difficulty is in adding to the Tools menu. As soon as documents get open or
closed, Visio appears to be wiping out any modifications to the Tools menu.
I can, for example, add an item to the Tools menu in the application's
custom menu, but the same code applied to the document's custom menu doesn't
work. I've even tried postponing my modification until the VisioIsIdle or
NoEventsPending event after a document is opened. My item still doesn't
appear.
Is there some special behavior of the Tools menu? Is there an event I can
wait for and know that Visio is no longer modifying the menu? Am I on the
wrong track entirely? Any help would be appreciated.
Thank you,
Bob Alexander