当我打开电子邮件并右键单击正文菜单时,如何扩展该菜单?我想添加一些功能。
我检查了这篇 Microsoft 开发者网络技术文章 扩展 Outlook 2010 中的用户界面,但无法获得我需要的内容。
How can I extend that menu when I open Email and Right Click on the body menu? I want to add some features.
I checked this Microsoft Developer Network Technical Article Extending the User Interface in Outlook 2010 and could not get what I need.
对于#1,您可能需要访问 来自活动 Outlook 检查器的 WordEditor。请参阅这篇文章关于如何从 WordEditor href="http://msdn.microsoft.com/en-us/library/microsoft.office.interop.outlook._application.activeinspector.aspx" rel="nofollow">活动检查器。
WordEditor
您需要在流畅的功能区 UI< /a> 到创建上下文菜单。您只需要实现 IRibbonExtensibility 接口。 Ribbon UI 使用 XML 来构造 UI 元素并处理事件。 CommandBar 已在 Outlook 中弃用2010 年。
IRibbonExtensibility
CommandBar
For #1 you may need access to the WordEditor from the active Outlook Inspector. See this post regarding how to get access to the WordEditor from the active inspector.
You will need to work within the Fluent Ribbon UI to create context menus. You just need to implement the IRibbonExtensibility interface. The Ribbon UI uses XML to construct UI elements and handle events. CommandBars have been deprecated in Outlook 2010.
CommandBars
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
暂无简介
文章 0 评论 0
接受
发布评论
评论(1)
对于#1,您可能需要访问 来自活动 Outlook 检查器的
WordEditor
。请参阅这篇文章关于如何从 WordEditor href="http://msdn.microsoft.com/en-us/library/microsoft.office.interop.outlook._application.activeinspector.aspx" rel="nofollow">活动检查器。您需要在流畅的功能区 UI< /a> 到创建上下文菜单。您只需要实现
IRibbonExtensibility
接口。 Ribbon UI 使用 XML 来构造 UI 元素并处理事件。CommandBar
已在 Outlook 中弃用2010 年。For #1 you may need access to the
WordEditor
from the active Outlook Inspector. See this post regarding how to get access to theWordEditor
from the active inspector.You will need to work within the Fluent Ribbon UI to create context menus. You just need to implement the
IRibbonExtensibility
interface. The Ribbon UI uses XML to construct UI elements and handle events.CommandBars
have been deprecated in Outlook 2010.