I have created Outlook add-in using VS .Net 3.5.
In this Add-In I want to add a new custom button only when user opens mail for read purpose. It means when user tries to create New mail or performs any operations like Reply, Reply to all or Forward then I dont want to show this button.
I think I get this done if I check Inspectors EditorType property.
But in case of Outlook 2007 if we double click on any mail in inbox it opens new Inspector and its EditorType is olEditorWord which is same as Inspectors EditorType for New/Reply/ Reply to all/Forward
So how do I know distinguish mail is open for which purpose.