Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default 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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hiding graphics elements? Blue Max New Users to Excel 3 May 2nd 10 03:33 AM
setup project for Excel addin, won't register addin Gerry Excel Programming 0 October 31st 07 12:01 AM
Hiding Rows in an Automation Addin Function Brandon Excel Programming 0 August 31st 07 05:06 PM
Unshimmed Automation Addin and Shimmed COM Addin in same App Domai Brandon Excel Programming 0 June 27th 06 11:18 PM
Hiding AddIn Methods from Worksheet Functions But Exposing to VBA Matthew Wieder[_3_] Excel Programming 7 June 23rd 06 04:45 PM


All times are GMT +1. The time now is 04:02 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"