View Single Post
  #3  
Old January 4th 08, 03:13 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Determining if the Digitally Sign button is depressed

Since both of your questions relate to the same thing I'm answering here.
Also, please include part of the preceding thread so people know what you're
talking about.

You can see if what you want can be done by iterating the CommandBars
collection of the Word Document object represented by the WordEditor object
of the Inspector and digging down to where that control is located, then
reading the State property of the control.

If that doesn't work then it cannot be done.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


wrote in message
...
I failed to specify my development environment. I am writing VSTO
addins for Office 2003/2007 using C# and VB. I have tried OutlookSpy,
Spy++, Procmon, etc, etc, to try and find any trace of where the
Inspector or MailItem store the fact of whether "Digitally Sign" has
been selected when WordMail is being used.

Thanks


Ads