View Single Post
  #8  
Old May 19th 09, 02:13 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 don't know, I don't see that here. You might need to open a support case
with MS to find out what's going on.

--
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:964ae2219e562@uwe...
It is really strange. And i check my situation again and again, it is just
as
what i said.
1. outlook editor, you must open a inspector and close it, then
CommandBarButton::get_state will work. If you don't do close action,
get_state alway return Office::msoButtonUp.
2. word editor, it is ok.

my code is quite disordered, following code is just the flow:
1. OnConnection DispEventAdvise(NewInspector)
2. NewInspectorEvent Create a wrapper class and add to list.
3. In Wrapper class DispEventAdvise(InspectorActive event and
Close
event)
3. InspectorActive event check if the toolbar not create yet,
CreateToolbar
4. CreateToolbar Find outlook's encrypt and sign
button(here i
can get CommandBarButton
object), then get_State. Then Add
new
button, set its state by checking
outlook button's state.
5. If use close inspector remove current inspector from list.
6. If use close outlook DisConnection actions.
That's all.

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


Ads