简体   繁体   English

在阅读电子邮件模式时如何将上下文菜单项添加到Outlook

[英]How to add context menu item to outlook when it in reading email mode

So, I want create add-in which can read selected word at email and send it to the API by clicking on context menu. 因此,我想创建一个加载项,该加载项可以在电子邮件中读取所选单词,然后通过单击上下文菜单将其发送到API。 As for text selection everything is clear. 至于文本选择,一切都很清楚。 But I stuck in creating context menu. 但是我坚持创建上下文菜单。

I search the web and found that we need add contextMenu item into the ribbon xml with specific idMso But which of then I don't understand. 我在网上搜索,发现需要将contextMenu项目添加到具有特定idMso的功能区xml中,但是我不了解其中的哪个。

PS I found the document with Outlook controls names here http://www.microsoft.com/en-us/download/confirmation.aspx?id=6627 PS我在这里找到了带有Outlook控件名称的文档http://www.microsoft.com/zh-cn/download/confirmation.aspx?id=6627

Ok, I found it! 好的,我找到了! idMso="ContextMenuReadOnlyMailText" idMso = “ContextMenuReadOnlyMailText”

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM