Removing buttons from command bar

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,
I'm wondering how I can get my plugin to remove it's button when it is
uninstalled, as oppose to forcing the user to restore the default command
bar. My program has buttons both in the mail inspectors and in the explorer.
Thanks,
 
Create your toolbars and buttons as temporary - there won't be anything to
uninstall.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
Use the Temporary parameter set to True when calling CommandBars.Add and
CommandBar.Controls.Add

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
On Thu, 4 Aug 2005 09:46:53 -0700 Dmitry Streblechenko wrote:

Expect, if the user disables via Options/COM-Addins. Then the Explorer
buttons would remain until the next OL start.
 
True, but if a user has to disable your add-in on a regular basis, something
is *very* wrong :-)

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
On Fri, 5 Aug 2005 09:58:06 -0700 Dmitry Streblechenko wrote:

Hmmm - true, too :-)
 

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

Back
Top