views:

224

answers:

1

I am working on an Outlook extension that requires making a change to a MailItem open in a compose window if the SendUsingAccount property is changed via the GUI. I would like to be albe to apply my changes automatically, but I cannot find any events that are raised when the user makes the change. I have tried listening to the following events with no success:

  • mailItem.PropertyChange
  • mailItem.CustomAction
  • mailItem.CustomPropertyChange

Are any events raised when the SendUsingAccount property changes?

+1  A: 

No, is the short answer. You could hack up a timer to check for the change on the property. Marcus

76mel
Thanks Marcus. I setup a background thread with a timer to monitor it, but was hoping there was a better way.
B Sharp
Maybe Subclassing is the way to go
76mel