View Single Post
  #4  
Old May 15th 09, 02:02 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default About state of encrypt and sign button for outlook?

I've never seen that with the Outlook editor in any version of Outlook.

When are you getting your button references? In what event? Is it the first
Inspector.Activate() event handler? That's where you should be creating your
UI.

--
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:961806bd4d44d@uwe...
Hi, ken, My case is not as the same as what you described. If in word
editor
mode, get_State is always ok. If without word editor, i found it is error
if
you open for first time, close one e-mail you opened, then open any ones
it
will be ok. If you don't do "close" action, it may be not correct.

Ken Slovak - [MVP - Outlook] wrote:
I've often found with WordMail, if this relates to that, that Outlook
loses
its references and I have to reinstantiate the button object when I want
to
use something like State, even in the Click() event for that button.

It is very strange that i couldn't get the buttons' state currently for
first
time open an e-mail(draft) or create a new one. I firstly find the
button
then get_State. return value is S_OK. but state is error.
When i open the second e-mail, all are ok?Why?Thank you.


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...ddins/200905/1


Ads