在VSTO加载项自定义功能区为Outlook 2010不显示 [英] Custom Ribbon in VSTO Addin for Outlook 2010 doesn't display

查看:660
本文介绍了在VSTO加载项自定义功能区为Outlook 2010不显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个最小的VSTO加载项为Outlook 2010与功能区。我唯一​​的目标就是显示一个带状(通过设计器创建),没有的功能。从什么小我可以从MSDN丝带告诉应该只是默认自动显示出来,或许与调整ControlIdType / CustomId属性标签



唉,调整这些属性什么都不做 - - 展望加载和显示没有标签。在功能区装载机显示一个简单的消息框显示它永远不会被触发。此外,我还没有看到任何信息资源(教程,演练,概述等)的说一下需要手动告诉Outlook以显示选项卡什么。




  1. 如何获得的标签显示?

  2. 难道还有比MSDN等一个很好的资源,它是很好的VSTO新手?


解决方案

要得到你的丝带显示,就在你的代码更改基础色带 RibbonType 属性为 Microsoft.Outlook.Explorer


I've got a minimal VSTO Addin for Outlook 2010 with a ribbon. My only goal is to display a ribbon (created via designer) with no functionality. From what little I can tell from MSDN ribbons should just automatically be displayed by default, perhaps with tweaking ControlIdType/CustomId properties for tabs.

Alas, tweaking these properties does nothing -- Outlook loads and displays no tab. A simple message box displayed in the ribbon loader reveals it never is triggered. Additionally, I haven't seen any information resources (tutorials, walkthroughs, overviews, etc..) that say anything about needing to manually tell Outlook to display tabs.

  1. How do I get the tabs displayed?
  2. Is there a good resource other than MSDN that's good for VSTO newbies?

解决方案

To get your ribbon displayed, on the base ribbon in your code change the RibbonType property to be Microsoft.Outlook.Explorer.

这篇关于在VSTO加载项自定义功能区为Outlook 2010不显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆