T
Tobias Böhm
Hello,
I'm having several problems with my Outlook-Add-In and I would
appreciate any help on this one.
To show a custom icon for items of a certain folder I set the
PR_MESSAGE_CLASS to the message class I created and the PR_ICON_INDEX
to -1. Then because of the -1 a custom icon is shown and because of
the custom message class it's the one I defined in the custom form.
Very good.
The problem starts when the user updates the item, either with an
outlook inspector or with my custom windows form. After displaying the
data in my custom windows form I persist the values, I write them back
to the outlook item and call .Save(). That resets the MessageClass
which is very odd I think because the item is not moved or something -
I just saved it.
Is this behaviour known or even wanted and if so, why?
Thank you in advance for any help.
Tobi
I'm having several problems with my Outlook-Add-In and I would
appreciate any help on this one.
To show a custom icon for items of a certain folder I set the
PR_MESSAGE_CLASS to the message class I created and the PR_ICON_INDEX
to -1. Then because of the -1 a custom icon is shown and because of
the custom message class it's the one I defined in the custom form.
Very good.
The problem starts when the user updates the item, either with an
outlook inspector or with my custom windows form. After displaying the
data in my custom windows form I persist the values, I write them back
to the outlook item and call .Save(). That resets the MessageClass
which is very odd I think because the item is not moved or something -
I just saved it.
Is this behaviour known or even wanted and if so, why?
Thank you in advance for any help.
Tobi