Negotiate Menus Visio Drawing Control 2010

Started by visio_sim, July 22, 2010, 03:50:52 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

visio_sim

Hello,
I develop and maintain an application that uses the drawing control of Visio as the interface to represent a live process.
The application was developed under VB6. With Visio 2010 we lost all the Visio Menus that we expose.

What we do is populate our own menus, then  rename the Visio menus by adding "PFD" at the begining, and using the negotiatemenus, magic used to happen and we would end up with our Menus merged with Visio Menus. So the user had access to all the built-in features of Visio.  In the attached image, all the visio menus are in the red box.



Is there a workaround for this problem?   
Suggestions?

Thanks!

visio_sim
"Just when I thought I was out, they pull me back in..."


visio_sim


That is exactly what we do for Visio 2003 and 2007, but it doesn't work for Visio 2010


Thanks,

visio_sim

Paul Herber

Whatever the magic bit is doing with menus is not going to work with the ribbon in Visio 2010. Depending upon what the code is doing you'll just end up with a new menu in the Add-Ins ribbon.
Electronic and Electrical engineering, business and software stencils for Visio -

https://www.paulherber.co.uk/

visio_sim

#4
Paul Herber:


In my application I don't have any Ribbons
Do you know if there is a way to use the old menu objects?
At this point I think I will have to re-create the menus myself and do the work behind the scenes, to make it transparent to the user.


Thanks,

visio_sim

visio_sim


Just to let everyone now, I ended up recoding the menus myself, and doing all the work behind the scenes.

After testing about five different controls, I ended up using this control do emulate the menus  http://www.ocx-activex.com/menu.html.

It seems pretty stable and the most important thing : it gets the job done.