【问题标题】:Create Addin button in New Message Window and Inbox Window在新消息窗口和收件箱窗口中创建插件按钮
【发布时间】:2011-06-26 14:38:00
【问题描述】:

如何使用 VSTO 在 Outlook 2007 的新消息窗口和收件箱窗口中创建插件按钮。

此代码将按钮添加到 Outlook 2007 的主窗口。

            //Define the existent Menu Bar
            menuBar = this.Application.ActiveExplorer().CommandBars.ActiveMenuBar;

            //Define the new Menu Bar into the old menu bar
            newMenuBar = (Office.CommandBarPopup)menuBar.Controls.Add(
                Office.MsoControlType.msoControlPopup, missing,
                missing, missing, false);

我正在使用为 Office 2007 安装了 VSTO 的 Visual Studio 2005

【问题讨论】:

    标签: c# outlook vsto outlook-2007


    【解决方案1】:

    我找到了我需要做的事情。我正准备在撰写窗口和阅读消息窗口工具栏中添加功能区按钮。请看这个链接。这对我很有帮助。

    http://blogs.msdn.com/b/vsto/archive/2009/12/15/making-a-custom-group-appear-in-the-message-tab-of-a-mail-item-norm-estabrook.aspx

    谢谢

    【讨论】:

    • 链接失效
    猜你喜欢
    • 1970-01-01
    • 2012-06-30
    • 2019-04-29
    • 2016-06-12
    • 1970-01-01
    • 2016-01-11
    • 2015-11-30
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多