views:

7

answers:

0

I'm developing an add-in of Powerpoint in VSTO.

When I have inserted a chart into the slide, and I don't want show the context menu when user right-click the chart.

I forbid some command button of powerpoint,

<command idMso="TabChartToolsDesign" getEnabled="GetVisible"/>
<command idMso="ChartChangeType" getEnabled="GetVisible"/>
<command idMso="ChartResetToMatchStyle" getEnabled="GetVisible"/>
<command idMso="ChartPlotAreaOptionsDialog" getEnabled="GetVisible"/>

but it's not enough. some command buttons are still enable.

what can i do for this ?