2
我正在開發VSTO中的PowerPoint加載項。VSTO:如何禁止演示幻燈片中的圖表的上下文菜單?
當我將圖表插入幻燈片中時, 我不想在用戶右鍵單擊圖表時顯示上下文菜單。
我不許PowerPoint中的一些命令按鈕,
<command idMso="TabChartToolsDesign" getEnabled="GetVisible"/>
<command idMso="ChartChangeType" getEnabled="GetVisible"/>
<command idMso="ChartResetToMatchStyle" getEnabled="GetVisible"/>
<command idMso="ChartPlotAreaOptionsDialog" getEnabled="GetVisible"/>
,但還不夠。一些命令按鈕仍然可用。
我能爲此做些什麼?