View Single Post
  #7  
Old February 5th 09, 06:51 PM posted to microsoft.public.outlook.program_addins
Hichem S
external usenet poster
 
Posts: 13
Default Why Word toolbars are hidden when Outlook with WordMail is lau

Thanks for your answer...
That's exactly what I am doing : save the last state of the UI = the only
way i found to deal with the problem.
But as this is a workaround, I just wanted to know if I can avoid outlook
from doing what it does... and understand why...?
If possible, can you tell me what happens? why outlook does that?
Thanks



"Ken Slovak - [MVP - Outlook]" wrote:

I understand what you are saying and when Outlook does that you can leave it
as is or use your code to make your UI visible. You can save the last state
of the UI (visible/invisible) when the item is closed in either version and
use that later, but since Outlook is doing this you either have to live with
it or you have to change things in your code.

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


"Hichem S" wrote in message
news
Hi Ken,
Sorry to insist... My purpose with the last answer is to give you the more
element you may need to answer my question.
I want to add that my addin is a shared addin and in the connect I switch
on
the application object to decide for the right thing to do.
As I said in my first comment it's unwanted to force the visibility of a
toolbar to true if the user chose to set it to false!...What happens is
that
outlook sets the visibility of my toolbar to false which I NEVER DID IN MY
CODE. In fact I never in any place set the visibility of the toolbar to
false.
I searched but I did not find any thread talking about this issue. This is
understandable, since you always advice poeple to work on the mail item in
wordmail from an outlook point of view which make this issue undetectable!



Ads