本文介绍了更改Outlook Addin上下文菜单的位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试为Outlook Addin项目中的联系人项目添加上下文菜单..但菜单显示在底部...如何将其设置为菜单中的第一项...?
var contextButton = commandBar.Controls.Add(Office.MsoControlType.msoControlButton,missing ,缺失, 0 , true ) as Office.CommandBarButton;
请帮助我。这是邮件项目菜单的图像。
[]
解决方案
I am trying to add a context menu for my contact Item in an Outlook Addin Project.. But the Menu appears at the bottom... How can I set it as first Item in Menu... ?
var contextButton = commandBar.Controls.Add(Office.MsoControlType.msoControlButton, missing, missing, 0, true) as Office.CommandBarButton;
Please Help me. This is the Image of the Menu on Mail Items.
http://i.stack.imgur.com/Hf5zA.png[^]
解决方案
这篇关于更改Outlook Addin上下文菜单的位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!