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
 
Top