Dmitry Kostochko

Video HowTo: Resize Advanced Task Pane programmatically (VB.NET)

To resize your custom Office task pane, you need to use the trivial Width and Height properties of the particular instance of your task pane. There is just one important thing – the Splitter property should be set to None.

Now let’s see how it works:

In this example, we use Advanced Excel Task Panes, but you can do the same with Advanced Task Panes in Word and PowerPoint as well as with Advanced View and Form Regions in Outlook.

This sample video was captured in Visual Studio 2008 (VB.NET) with Add-in Express 2009 for Office and .net.

You may also be interested in:

Creating custom Excel task panes
Developing custom Outlook forms
MS Word and PowerPoint task panes capabilities

2 Comments

  • https://secure.gravatar.com/avatar/eeb851e306b0b03e3aefe2c499f9038c?s=32&d=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D32&r=G Ankur says:

    I am creating add in through add in express full sdk. can you please tell me how can we restrict the end user to resize the addin pane.

  • https://secure.gravatar.com/avatar/29957f26ad2d8ba527fd9cc8cfa7b2e0?s=32&d=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D32&r=G Andrei Smolin (Add-in Express Team) says:

    Hello Ankur,

    You need to use the ADXSplitterMove event of the pane class.

Post a comment

Have any questions? Ask us right now!