![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
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 |
Ads |
#2
|
|||
|
|||
![]()
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 |
#3
|
|||
|
|||
![]()
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. 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 OfficeKB.com http://www.officekb.com/Uwe/Forums.a...ddins/200906/1 |
#4
|
|||
|
|||
![]()
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 |
#5
|
|||
|
|||
![]()
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. -- 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:974575e287ee2@uwe... 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. 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 OfficeKB.com http://www.officekb.com/Uwe/Forums.a...ddins/200906/1 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to sort NG by latest post to threads, not first post? | JoeU2004 | Outlook Express | 15 | March 26th 09 09:05 AM |
problem with publish custom Post form | shubhangi | Add-ins for Outlook | 6 | February 18th 08 02:12 PM |
[MAPI dll problem] Message to post to ask for help in microsoft fo | Nong | Add-ins for Outlook | 1 | October 28th 07 09:12 PM |
Please Help (3rd Post): Folder Problem with Outlook IMAP | Colin | Outlook - General Queries | 1 | May 22nd 07 01:26 PM |
second post of same problem | In the Dog House | Outlook - General Queries | 2 | February 20th 07 06:48 PM |