I simply created a simply separate class for the COM add-in and communicates
with ECE using global variables. In case of OutlookSpy the ribbon hanling is
very simple - it is always shown no matter what :-)
I did ribbon related functionality for several other add-ins, but there the
show/hide ribbon logic was based on the sent/unsent state of the item.
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
"Michael Tissington" wrote in message
...
Thanks, have you been able to connect your ece to the class containing the
ribbon code ?
"Dmitry Streblechenko" wrote in message
...
If I remember correctly, you should be able to specify the ribbon
visiblity callback, which will be called each time a ribbon is shown.
You might want to post in microsoft.public.outlook.program_addins and/or
microsoft.public.developer.outlook.addins.
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
"Michael Tissington" wrote in message
...
I have implemented IRibbonExtensibility but how can I only load the
ribbon when the Outlook form is from a specific folder or message class
(we have an ECE that does this for pre 2007)
The RibbonID does not seem to reflect the actual message class.