PC Review


Reply
Thread Tools Rate Thread

AddIn: IDTExtensibility::BeginShutdown hiding GUI elements too lat

 
 
Ralf Steinstraesser
Guest
Posts: n/a
 
      7th Jul 2008
Hi,

I have an addin, which was implemented using .NET and the IDTExtensibility
interface. The addin adds GUI elements to XL (a toolbar &context menu).

Now when closing Excel I want to make sure, that those GUI elements are
hidden. During the next startup of Excel the addin should decide wether those
elements should become visible or not. Now, when setting those elements
visible=false in the IDTExtensibility::OnBeginShutdown or
IDTExtensibility::OnDisconnect methods it seems to be to late. During the
next startup Excel does not seem to remember that the state of those elements
was visible=false and shows them visible=true.

Can someone recommend an event or a strategy on how to accomplish the
purpose I am aiming for?

Thanks in advance,

Ralf

--
Dipl.-Ing. Ralf Steinstraesser
Software Architekt
Bissantz & Company GmbH

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hiding graphics elements? Blue Max Microsoft Excel New Users 3 2nd May 2010 03:33 AM
Hiding graphics elements? Blue Max Microsoft Excel Programming 3 2nd May 2010 03:33 AM
Hiding/Showing Elements with javascript Jonathan Wood Microsoft ASP .NET 1 18th Mar 2008 08:26 AM
Showing/Hiding Some Elements in JS =?Utf-8?B?QWxleCBNYWdoZW4=?= Microsoft ADO .NET 4 5th Jul 2006 04:31 AM
Hiding Elements in a Repeater =?Utf-8?B?SGV0ZXNpICYgVnVybWEgU3RyYXRlZ2ljIFNvbHV0 Microsoft Dot NET Framework 4 14th Jun 2005 12:16 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:08 AM.