简体   繁体   English

Outlook插件:即使有多个Outlook实例,跳转列表&&仅一个插件实例

[英]Outlook Addin: Jumplists && only one addin instance even with multiple outlook instances

Outlook Addin written in C#, Visual Studio 2012. 3 questions: 用C#,Visual Studio 2012编写的Outlook插件。3个问题:

  1. I have a form window in my outlook addin, it takes it's own space in the taskbar. 我的Outlook外接程序中有一个窗体窗口,它在任务栏中占用了自己的空间。 A right click on it reveals the Outlook jumplist. 右键单击将显示Outlook跳转列表。 I would like to customize the jumplist of only my addin taskbar entry. 我只想自定义插件任务栏条目的跳转列表。 If that's not possible then manipulating the Outlook jumplist would be the alternative. 如果那不可能,那么可以选择操纵Outlook跳转列表。 How do I do it? 我该怎么做?

  2. How do I make sure that the addin outlook on startup operations only happen when starting the first Outlook instance? 如何确保仅在启动第一个Outlook实例时才发生启动操作的外接程序Outlook? I could realize that via registry or a hidden file but that doesn't seem satisfying. 我可以通过注册表或隐藏文件来实现,但这似乎并不令人满意。

  3. Additionally I would like to hand over the addin object instances to one of the remaining Outlook instances if the first one is closed. 此外,如果第一个关闭,我想将外接对象实例移交给其余的Outlook实例。 Or at least let the remaining instances realize that the first one got closed so they can build up the addin functionality again. 或者至少让其余实例意识到第一个实例已关闭,以便它们可以再次构建插件功能。 I have no idea at all how to do that. 我完全不知道该怎么做。 Is there any object accessible via my c# code that all Outlook instances interact with to let them communicate? 是否可以通过我的C#代码访问所有与Outlook实例进行交互以使其进行通信的对象?

  1. What jumplist are you referring too? 您也指的是什么跳转列表? How do you want to customize it? 您想如何自定义它?
  2. & 3. Only one Outlook.exe instance should be running at once. &3.仅一次运行一个Outlook.exe实例。 When a new Outlook window opens, it adds to the Application.Explorers collection 当新的Outlook窗口打开时,它将添加到Application.Explorers集合中

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM