【问题标题】:WindowBeforeRightClick - PowerPoint 2007 [closed]WindowBeforeRightClick - PowerPoint 2007 [关闭]
【发布时间】:2013-09-09 03:52:26
【问题描述】:

我正在尝试向 PowerPoint 2010 添加仅在选择文本时出现的上下文菜单选项。不幸的是,如果鼠标在文本框内,WindowBeforeRightClick 事件似乎不会触发。

我需要聆听其他事件还是添加上下文菜单的更好方法?

【问题讨论】:

    标签: c# vsto powerpoint add-in


    【解决方案1】:

    根据this Forum-Thread 上的第一个答案,这是 Microsoft 已知但尚未修复的问题。

    我们在这里遇到了同样的问题。 我们当前的解决方法是使用 WindowSelectionChange-Event。但是,这仅在您想确保必须选择 TextBox 时才有效,因为 SelectionChange-Event 只会在您选择新形状时触发。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2010-10-27
      • 2010-10-05
      • 2011-04-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多