Delegating handles

  • Thread starter Thread starter Lars Roland
  • Start date Start date
L

Lars Roland

Hi I have a Connect class that is implementing the IDTExtensibility2
interface. I have added a lot of extra buttons and events to this class
and now i want to delegate the handling af the events to another class.

For example I have the following code:
-----------------------------------------------------------
Public Class Connect
Implements Extensibility.IDTExtensibility2

Dim WithEvents fldMessagePreviewButton As CommandBarButton

yada
 
Download and examine the ItemsCB COM addin sample from the Resources page at
www.microeye.com It shows how to do what you want to do and also shows best
practices and common workarounds for known bugs for Outlook addins.
 
Back
Top