在VSTO加载项自定义功能区为Outlook 2010不显示 [英] Custom Ribbon in VSTO Addin for Outlook 2010 doesn't display
问题描述
我有一个最小的VSTO加载项为Outlook 2010与功能区。我唯一的目标就是显示一个带状(通过设计器创建),没有的功能。从什么小我可以从MSDN丝带告诉应该只是默认自动显示出来,或许与调整ControlIdType / CustomId属性标签
唉,调整这些属性什么都不做 - - 展望加载和显示没有标签。在功能区装载机显示一个简单的消息框显示它永远不会被触发。此外,我还没有看到任何信息资源(教程,演练,概述等)的说一下需要手动告诉Outlook以显示选项卡什么。
- 如何获得的标签显示?
- 难道还有比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.
- How do I get the tabs displayed?
- 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屋!