AddIn: IDTExtensibility::BeginShutdown hiding GUI elements too lat
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 |
All times are GMT +1. The time now is 08:15 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com