ADXExcelTaskPane default width

Add-in Express™ Support Service
That's what is more important than anything else

ADXExcelTaskPane default width
 
Puneet Mahajan


Guest


I am creating an ADXExcelTaskPane, it?Â?Ð?és positioned towards right of the window.

Now, when the add-in loads it remembers the width of the pane from the previous session.

1. I want to know where does excel store this width?

2. Also, when an add-in is registered for the first time, does it use a default width? If so, where is it saved and can we override this value?
Posted 27 Mar, 2017 12:00:39 Top
Andrei Smolin


Add-in Express team


Posts: 18821
Joined: 2006-05-11
Hello Puneet,

#1. HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\Excel\Addins\ADXXLForm
#2. When the add-in loads for on a machine that doesn't contain the key above, the form's design-time size is used. You can reproduce this behavior: just delete or rename the key.


Andrei Smolin
Add-in Express Team Leader
Posted 28 Mar, 2017 05:46:07 Top
Puneet Mahajan


Guest


Thanks Andrei.

I believe HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\Excel\Addins\ADXXLForm is a generic place for any addin. Can I scope it to a specific addin?
Posted 28 Mar, 2017 08:59:02 Top
Andrei Smolin


Add-in Express team


Posts: 18821
Joined: 2006-05-11
Hello Puneet,

All add-ins show their panes in the same region(s). This value stores the last size of the region.


Andrei Smolin
Add-in Express Team Leader
Posted 28 Mar, 2017 09:10:44 Top