none
What's the idMso of the "Container" contextMenuShape element? RRS feed

  • Question

  • I want to disable the container command of the right click ContextMenuShape in Visio, for this i used the following XML code:

    <contextMenus>  
        <contextMenu idMso="ContextMenuShape">
                <menu idMso="MenuContainer" visible="false"/>             
        </contextMenu>
      </contextMenus>

    My problem is that I'm not sure of the idMso of the "Container" element in the context menu. Did someone know the idMso of this context menu element?

    Thank you

    • Moved by Sheldon _Xiao Friday, April 1, 2011 8:12 AM (From:Windows Presentation Foundation (WPF))
    Wednesday, March 30, 2011 2:00 PM

All replies

  • I want to disable the container command of the right click ContextMenuShape in Visio, for this i used the following XML code:

    <contextMenus>  
        <contextMenu idMso="ContextMenuShape">
                <menu idMso="MenuContainer" visible="false"/>             
        </contextMenu>
      </contextMenus>

    My problem is that I'm not sure of the idMso of the "Container" element in the context menu. Did someone know the idMso of this context menu element?

    Thank you

    Wednesday, March 30, 2011 2:27 PM
  • Hi IAbdellatif,

    Thanks for posting in the MSDN Forum.

    Would you please tell me your Office version?

    Have a good day,

    Tom


    Tom Xu [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Friday, April 1, 2011 1:39 AM
    Moderator