简体   繁体   中英

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

Outlook Addin written in C#, Visual Studio 2012. 3 questions:

  1. I have a form window in my outlook addin, it takes it's own space in the taskbar. A right click on it reveals the Outlook jumplist. 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. 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? 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. 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?

  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. When a new Outlook window opens, it adds to the Application.Explorers collection

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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