How does Outlook set the context when a message is selected?

Joined
Sep 6, 2007
Messages
1
Reaction score
0
hi,
This question may be very basic but I could use some help with it. Can someone explain how Outlook sets the context of a message?
I am working on an Addin which has a custom form (a different message class defined).
if a message of this kind is selected, the context set should be different from the context for an outlook email form. However, I am facing a problem where the context is incorrect and the message is opening in an Outlook form instead of the custom form it should open in.
I found that the context is incorrectly getting set to ECONTEXT_READNOTEMESSAGE. The implementation of the IExchExt:Install method passes this context to other methods. What I need to know is how does this context get set and passed to the Install() method? Please help me out

Thanks
 
Back
Top