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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top