Questions tagged [customtaskpane]
110 questions
0
votes
0 answers
VSTO Outlook: Adjust automatically custom task pane height to the height of the usercontrol
I am trying to adjust the height of the custom task pane to the height of the usercontrol. My usercontrol is changing its height depending on some circumstances, so how can make custom task pane to automatically adjust to the height of the…

Willy
- 9,848
- 22
- 141
- 284
0
votes
1 answer
VSTO Outlook: Handle event when custom task pane changes its height
The custom task pane has a down arrow button at the top right corner which if you click on it a contextual menu appears showing two options:
Resize
Close
I would like to handle the event when user resize the height of the custom task pane and…

Willy
- 9,848
- 22
- 141
- 284
0
votes
0 answers
Outlook Add - Update TaskPane Elements on OnMessageRecipientsChanged event
I am trying to update TaskPane HTML elements upon event OnMessageRecipientsChanged gets fired. The event is received successfully however, I am unable to access HTML elements using:
document.getElementById("item-subject").innerHTML =…

RAF
- 11
- 2
0
votes
0 answers
Office addin custom task pane display issue
I have created a c# vsto office addin that exposes a custom task pane.
All office task pane need to be created using a Sytem.Windows.Forms.UserControl. In this userControl I have added an System.Windows.Forms.Integration.ElementHost to be able to…

GuillaumeDSL
- 21
- 5
0
votes
1 answer
Custom task pane height not fully expanded empty space remains
I have problem with height of custom task pane in Excel. This task pane is created from Excel AddIn which is created using Excel-Dna library.
When docked to the left side with MsoCTPDockPosition.msoCTPDockPositionLeft it does not take the full…

Daniel Dušek
- 13,683
- 5
- 36
- 51
0
votes
1 answer
"share" a custom task pane between all windows of the same presentation
I use the below code to manage different custom task panes in PowerPoint VSTO across presentations. This works fine, e.g. when a user opens a new presentation a new task pane is created and it does not affect any other open presentation task…

chriscode
- 121
- 1
- 8
0
votes
1 answer
How to add event listeners for appointment item in outlook taskpane add in?
I have been following this example for adding event listeners but it doesn't work. Is there any way to listen when changes are made while creating an appointment in calendar (i.e. when attendees are added)?
The link I…

Haris Cehic
- 13
- 4
0
votes
1 answer
How to change lable of button on Ribbon (Word Add In VSTO) when click button at CustomTaskPane
I've create two buttons, Status button with default "Open" in my Word add-in Ribbon and ChangeStatus button at my CustomTaskPane.
How to change lable of Status button from "Open" to "Close" (on Word add-in Ribbon) when click ChangeStatus button at…

Tứ Nguyễn Duy
- 31
- 4
0
votes
1 answer
How do I change the icons on the right task pane tabs
After updating our Office version, we noticed that when multiple addin task panes are open, a new vertical icon group is appearing on the right side of the task pane, as shown in the following image.
My question is: is there a way to change the…

EstevaoLuis
- 2,422
- 7
- 33
- 40
0
votes
1 answer
When Microsoft Access is shutting down, how can I catch the current properties of a CustomTaskPane before the controls are disposed..?
I've created a VSTO addin for Microsoft Access by following the directions by Microsoft guru Andrew Whitechapel here, and it's working nicely. But the addin has a CustomTaskPane, and I'm having an issue with it when Access is closing.
If the…

spinjector
- 3,121
- 3
- 26
- 56
0
votes
1 answer
How to Minimize/Collapse outlook-addin custom task pane as same as Folder Pane?
I have created VSTO outlook addin project. Added user control and other controls. I am able to show/hide custom task pane by clicking on button from Ribbon. I want to minimize and expand it as same as outlook built in Folder Pane does at right side.…

Lokesh Sharma
- 1
- 1
0
votes
1 answer
Setting the Parent on a CustomTaskPane control?
I'm creating a CustomTaskPane for a Word plugin, and putting some third party controls on the control that's on the CustomTaskPane. However, those controls are expecting to be part of a .net Form, and call FindForm() on themselves, which traverses…

Nate Finch
- 253
- 3
- 13
0
votes
0 answers
Excel custom task pane with an XML layout
I'm creating a new custom task pane for Excel in C# by using Visual Studio. I followed the steps that I could find on the MSFT website and was able to create a ribbon button which shows/hides a blank task pane and this works well in Excel.
Now I…

VGh
- 59
- 2
- 10
0
votes
1 answer
CustomTaskPanes and Invoking NewMailMessage from outside Outlook
I have a ribbon button that appears on tabNewMailMessage in Outlook's compose email form, this button toggles the visibility of a CustomTaskPane stuck to the side of the form.
In normal practice, everything works perfectly. But when the Compose…

Cat
- 127
- 2
- 9
0
votes
1 answer
Remove CustomTaskPane from window
For an addin for out look a new Custom task pane is added to a specific window using the following code:
historyPane = new HistoryPane(taskId);
customTaskPane = Globals.ThisAddIn.CustomTaskPanes.Add(historyPane, title, new…

Ben
- 166
- 2
- 19