A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Detecting whether a toolbar is and should be shown



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old March 6th 09, 11:20 AM posted to microsoft.public.outlook.program_vba
Brunwin
external usenet poster
 
Posts: 5
Default Detecting whether a toolbar is and should be shown

I have two toolbars I've implemented in Outlook using VSTO 2005 SE - one
inspector commandbar and one explorer commandbar. At the moment they both
launch when the relevant window is launched and add themselves to the
commandbars list.
The flaw with this is that when the user right clicks on the toolbar area
and unticks my commandbar, hiding it, then shuts Outlook and reopens it my
commandbar naively reloads itself into the toolbar area. Really it should
wait until the user re-ticks it's name before it appears. To be able to do
this I'd need to be able to either detect whether my commandbar is visible or
detect when my commandbar is hidden and when it is made visible. I can't
seem to identify within the VSTO 2005 API a way to do this. I presume though
that this is something that a commandbar should support so I expect I'm just
not finding the right way to do it.
Does anyone know how I should be doing this and what properties/events I
need to use for it?

Thanks in advance
 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
detecting new mail in shared mailbox Mark VII Outlook and VBA 2 April 22nd 08 09:08 PM
Detecting the type of items for a folder dch3 Outlook and VBA 5 November 5th 07 05:11 PM
Detecting the .ActiveWindow() w/C# Vic[_2_] Outlook - General Queries 1 October 24th 07 07:21 PM
Detecting when Appointment Occurs mwernerps2 via OfficeKB.com Add-ins for Outlook 1 October 20th 07 11:29 PM
detecting when Word is being used to compose email ? Mark Beiley Add-ins for Outlook 5 July 23rd 07 06:35 AM


All times are GMT +1. The time now is 02:42 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.