I can read the State property at any point after I've instantiated a
CommandBarButton object for that button. However, I don't use signed emails
and don't even have anything set up here any longer that works with
signing/encrypting emails. So I can't test that exact button.
To open a support case with MS you go to the Office support Web site and
follow the instructions there. Be aware that this is a paid incident, and
the cost will only be waived if the problem is decided as an Outlook bug.
Otherwise you will be billed for any support.
--
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
"ryotyankou via OfficeKB.com" u48591@uwe wrote in message
news:974575e287ee2@uwe...
Do you read state in the frist InspectorActive event? If it is, it really
strange for me, maybe i should send a mail to MS. By the way, how could i
send this issue to MS, i had never do this before, thanks in advance, ken.
Ken Slovak - [MVP - Outlook] wrote:
I don't do anything special, I just read State from the button object
variable. In VBA code if the button is _button then just _button.State.
I remembered that you told me you had never return incorrect state use
CommandBarButton::GetState while outlook editor is used. Could you
please
show me your code snippet? or your code flow to get button's state, my
purpose is get states of "Sign" and "Encrypt" button state currently.
After
get them, i will create my toolbar on the mail editor dialog!
--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...ddins/200906/1