ADXExcelTaskPane default width

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

ADXExcelTaskPane default width
 
Puneet Mahajan




Posts: 4
Joined: 2017-03-27
I am creating an ADXExcelTaskPane, its 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: 14140
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.

Regards from Belarus (GMT+3),

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




Posts: 4
Joined: 2017-03-27
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: 14140
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.

Regards from Belarus (GMT+3),

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