how to delete the custom menu bar

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

Guest

hi,

I have add a custom menu bar and several menu items to the outlook 2003 at
the time that COM Addin is loaded. More specifically, the menu is added in
the OnConnection() method of the IDTextensibility2 interface.

However, even after I uninstall the COM Addin, the custom menu is still
there, which is really not acceptable. So I am wondering if there is a way to
effectively delete the custiom menu bar each time the outlook application is
closed?

Thanks in advanced!
 
Am Tue, 29 Nov 2005 20:21:03 -0800 schrieb lostwings:

John, it´s best practice to create each menus temporarily.
 
thanks for response, Michael

But I still don't catch what you mean? What do u mean by creating menus
temporarily? Is there a program way to create menu temporarily? or you mean I
need to be reponsible to delete the previously created menus?

If the latter is what you mean, would u please tell me into which procedure
I should place my deletion code. I would appreciate if u could give me a
very simple example in COM Addin Scenario.
 
Am Wed, 30 Nov 2005 06:19:09 -0800 schrieb lostwings:

Each Add function for menubars, buttons etc. takes a parameter for creating
the control temp. If you don´t use IntelliSense, just have a look at the
ObjectBrowser (F2), which shows you the functions, their parameter etc.
 
Back
Top