S
Scott Metzger
Hi,
I would like to add an entry to my shapes right click menu via
Automation. I found the "Example for Caption" VB sample code in the
Visio 2002 SDK Documentation help file. This shows how to use a
UIObject to get a MenuSets object and then get a MenuSet object passing
the constant visUIObjSetDrawing constant. This allows one to add a menu
to the main window. However, I can't figure out which constant is used
for the right click pop up menu for a shape; or even if I can use the
MenuSet object to get to that menu.
I tried the visUIObjSetCntx_DrawObjSel which has an explanation of
"Shortcut menu: Visio drawing shape.", but it didn't work. What does
the documentation mean by "Shortcut menu"?
Anyone know what constant I should be using?
Thanks,
Scott Metzger
I would like to add an entry to my shapes right click menu via
Automation. I found the "Example for Caption" VB sample code in the
Visio 2002 SDK Documentation help file. This shows how to use a
UIObject to get a MenuSets object and then get a MenuSet object passing
the constant visUIObjSetDrawing constant. This allows one to add a menu
to the main window. However, I can't figure out which constant is used
for the right click pop up menu for a shape; or even if I can use the
MenuSet object to get to that menu.
I tried the visUIObjSetCntx_DrawObjSel which has an explanation of
"Shortcut menu: Visio drawing shape.", but it didn't work. What does
the documentation mean by "Shortcut menu"?
Anyone know what constant I should be using?
Thanks,
Scott Metzger