Hi, ken, GetState problem again, come in this post please?

  • Thread starter ryotyankou via OfficeKB.com
  • Start date
R

ryotyankou via OfficeKB.com

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!
 
K

Ken Slovak - [MVP - Outlook]

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.
 
R

ryotyankou via OfficeKB.com

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.
 
R

ryotyankou via OfficeKB.com

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.
 
K

Ken Slovak - [MVP - Outlook]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top