Menus And Toolbar in host application using ActiveX Drawing Control

Y

YOUNGHEE

I'd like to use visio built-in menus and toolbars in my program using
ActiveX Drawing
COntrol.
Is it posible?
 
M

Mai-lan [MS]

Hi, Younghee: You can expose the menus and toolbars for the Visio user interface in your application by using the NegotiateMenus and NegotiateToolbars properties on the ActiveX control interface. If you check the Visio Developer Reference that ships with the Visio 2003 product, it will contain new documentation on the ActiveX control interface and more information about these two properties.

It's important to note that both of these properties must be set to True in order for the menu merging to work. Also, I'd recommend taking a pass through the following article for best practices on menu merging -- the approach you take with it can be container-specific: http://www.msdn.microsoft.com/offic.../odc_vsprogrammingwithvisioactivexcontrol.asp

Thanks,
Mai-lan
 

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