About my problem, maybe you can have a try, when use outlook editor, in first
active inspector event, try to get state of the encrypt and sign button, it
is always in up state.
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
http://www.officekb.com