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.
--
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:9723a4e17133a@uwe...
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