从 VSTO 加载项访问 Outlook 的状态栏

Accessing Outlook's Status Bar from a VSTO Add-In

我的 VSTO 加载项可以正常运行,这要感谢 SO 上的许多人。事实证明,视觉反馈会是一件好事 - 如何从我的加载项自定义 Outlook 状态栏以显示 messages/icons/whatever?

Outlook 对象模型不提供任何 属性 或自定义状态栏的方法。相反,您可以考虑添加自己的表单。 Microsoft 称这样的形式为 adjacent。参见 Adjacent Windows In Outlook for more information. Also you may find a sample project in C++ which illustrates the required steps to get it working in Outlook - Creating Adjacent Windows In Outlook

最后,您可能会发现 Advanced Outlook view and form regions 有帮助。在这种情况下,无需子类化 Outlook windows。一切都由 Add-in Express 为您完成。