Determining if the Digitally Sign button is depressed
I understand that it is essentially impossible to add buttons, etc to
the msoCommandBar in the Envelope object of an Outlook Inspector when
Word is being used as the editor. What I need to do is simply
determine if one of these buttons is in the "down" state or selected.
It seems that I cannot access the buttons in the Envelope as I would
normally with the FindControlObj() method. I have searched the
Inspector object and the MailItem and I cannot find where this
attribute is stored.
So, the question basically boils down to: Is it possible to determine
if a MailItem has the "Digitally Sign" button checked when using
WordMail.
I have no problem doing this when not using WordMail. I just read the
ButtonState of that particular button in the MailItem.Send event and
determine it is pressed. It is easy because in the non-WordMail
Inspector, the button is located in the Standard toolbar.
I can't seem to find a property of an Inspector or MailItem that
represents if Digitally Sign is selected.
Thanks
|