Inspector.Activate event under VS2005 C#?

  • Thread starter Thread starter TC
  • Start date Start date
T

TC

Hey All,

I was wondering if anyone knows how or happens to have a snippet of code
demonstrating how to hook into the Inspector.Activate event under Visual
Studio 2005 using C#?

This event does not appear under the obvious object model and I'm unsure how
to proceed.

Thanks,

TC
 
Answered my own question which may be helpful to others:

private void
Inspectors_NewInspector(Microsoft.Office.Interop.Outlook.Inspector
Inspector)

{

((Microsoft.Office.Interop.Outlook.InspectorEvents_Event)Inspector).Activate

+= new
Microsoft.Office.Interop.Outlook.InspectorEvents_ActivateEventHandler(Inspector_Activate);

}
 
Back
Top