Outlook添加主选项卡与自定义按钮 [英] Outlook addin Home tab with custom button

查看:2119
本文介绍了Outlook添加主选项卡与自定义按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿,我想在Outlook 2010的默认首页选项卡内创建一个按钮。问题是,在VS2013我添加了一个功能区(视觉),并添加了组按钮,但它会将其添加到 TabAddIns 标签中。







我需要设置什么才能使自定义组/按钮显示在首页

解决方案

感谢!
>



使用 此链接 是可以找出首页标签称为 TabMail
>



遵循以下说明:



内置选项卡是已经在Outlook资源管理器或检查器的功能区上的选项卡。在此过程中,您需要将自定义组添加到内置选项卡,然后在选项卡上指定自定义组的位置。



添加



点击TabAddins(内置)标签以将其选中。



在属性窗口中,展开ControlId属性,然后将OfficeId设置为TabMail。



这会将Customer Purchases组添加到



点击客户购买组可选择它。

属性窗口,展开Position属性,单击PositionType属性旁边的下拉箭头,然后单击BeforeOfficeId。



将OfficeId属性设置为Find。



这将客户购买组置于消息选项卡的剪贴板组之前。


Hey all I am trying to create a button within the default Home tab in Outlook 2010. Problem being is that, in VS2013 I added a Ribbon (visual) and added the group with the button but it keeps adding that to the TabAddIns tab.

What do I need to set in order for that custom group/button to display in the Home tab instead of making its own tab?

Thanks!

解决方案

Got it!

Using this link here is was able to figure out that the Home tab was called TabMail.

And following these directions:

A built-in tab is a tab that is already on the Ribbon of an Outlook Explorer or Inspector. In this procedure, you will add the custom group to a built-in tab, and then specify the position of the custom group on the tab.

To add the custom group to a built-in tab

Click the TabAddins (Built-In) tab to select it.

In the Properties window, expand the ControlId property, and then set OfficeId to TabMail.

This adds the Customer Purchases group to the Messages tab of the Ribbon that appears in a new mail message.

Click the Customer Purchases group to select it.

In the Properties window, expand the Position property, click the drop-down arrow next to the PositionType property, and then click BeforeOfficeId.

Set the OfficeId property to Find.

This positions the Customer Purchases group before the Clipboard group of the Messages tab.

这篇关于Outlook添加主选项卡与自定义按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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