Alex
2010-07-09 06:03:32 UTC
In my appointment ribbon I have the following code that adds an event
handler to listen for inspector activate events.
private void AppointmentRibbon_Load(object sender, RibbonUIEventArgs)
{
m_inspector = (Outlook.Inspector)Context;
((Outlook.InspectorEvents_10_Event)m_inspector).Activate += new
Microsoft.Office.Interop.Outlook.InspectorEvents_10_ActivateEventHandler(AppointmentRibbonInspector_Activate);
}
The problem is that on some machines it appears that the Inspector
Activate function has already been triggered before the appointment ribbon
is loaded.
How do I get around this problem?
Thanks,
handler to listen for inspector activate events.
private void AppointmentRibbon_Load(object sender, RibbonUIEventArgs)
{
m_inspector = (Outlook.Inspector)Context;
((Outlook.InspectorEvents_10_Event)m_inspector).Activate += new
Microsoft.Office.Interop.Outlook.InspectorEvents_10_ActivateEventHandler(AppointmentRibbonInspector_Activate);
}
The problem is that on some machines it appears that the Inspector
Activate function has already been triggered before the appointment ribbon
is loaded.
How do I get around this problem?
Thanks,
--
______________________________________
Posted from http://outlook-center.com
Outlook forums, articles, tips.
______________________________________
Posted from http://outlook-center.com
Outlook forums, articles, tips.