V
Vladimir Chtchetkine
This is a big one for me. I want an item (doesn't really matter, _Mail or
_Post but preferably _Post) to be opened (_Inspector'ed) in a specific form
(I have a form file that I want to use). But no matter what I do, item keeps
opening in a default Outlook form.
I have an ugly work around: on item open (ItemEvents:Open) I create a new
item (using _Application::CreateItemFromTemplate(), copy all the properties
from the original item to the created one, create and open a new _Inspector
for that "templated" item, and set Calncel param to ItemEvents::Open to
true, so original item wouldn't open. Then, when inspector with "templated"
item is closing I copy all the changes to the original item and delete
"templated" one.
Ugly, huh?
Is there more elegant solution? I mean can I (from inside an add-in) open an
existing Outlook item in an arbitrary form (well, form, that supports item's
type)?
TIA,
Vladimir
_Post but preferably _Post) to be opened (_Inspector'ed) in a specific form
(I have a form file that I want to use). But no matter what I do, item keeps
opening in a default Outlook form.
I have an ugly work around: on item open (ItemEvents:Open) I create a new
item (using _Application::CreateItemFromTemplate(), copy all the properties
from the original item to the created one, create and open a new _Inspector
for that "templated" item, and set Calncel param to ItemEvents::Open to
true, so original item wouldn't open. Then, when inspector with "templated"
item is closing I copy all the changes to the original item and delete
"templated" one.
Ugly, huh?
Is there more elegant solution? I mean can I (from inside an add-in) open an
existing Outlook item in an arbitrary form (well, form, that supports item's
type)?
TIA,
Vladimir