Willy
Willy

Reputation: 10638

VSTO Outlook: Show custom taskpane only in the compose, reply and forward windows

I have created a custom taskpane to show custom messages to the user. Now, I would like to show this taskpane only in compose, reply and forward windows. How can I achieve this?

Upvotes: 0

Views: 90

Answers (1)

Dmitry Streblechenko
Dmitry Streblechenko

Reputation: 66215

Check that MailItem.Sent property is false before displaying your task pane.

Upvotes: 1

Related Questions