C
chris
Hi,
I have a RibbonDropDown with 10 values. This RibbonDropDown is placed inside
a Ribbon (designer). This Ribbon is set to display on Mail.Read in the
Message tab. When I open an email I need to get the value of an ItemProperty
of the current Inspector (the MailItem I am opening) and set a default value
in the RibbonDropDown. Setting the default value is not the problem. What I
am having trouble with is placing the code in the right place. I tried to do
it on the Activate event for the current Inspector but that seems to fire
only when I set the current window to the active window, not when I open the
email. I also tried when a new inspector is created, but that doesn't work
either.
How can I achieve this?
Thanks for the help.
I have a RibbonDropDown with 10 values. This RibbonDropDown is placed inside
a Ribbon (designer). This Ribbon is set to display on Mail.Read in the
Message tab. When I open an email I need to get the value of an ItemProperty
of the current Inspector (the MailItem I am opening) and set a default value
in the RibbonDropDown. Setting the default value is not the problem. What I
am having trouble with is placing the code in the right place. I tried to do
it on the Activate event for the current Inspector but that seems to fire
only when I set the current window to the active window, not when I open the
email. I also tried when a new inspector is created, but that doesn't work
either.
How can I achieve this?
Thanks for the help.