Task pane for inline response of Outlook?

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

Task pane for inline response of Outlook?
 
Bas Wanders




Posts: 11
Joined: 2012-05-30
Is it possible to show a task pane in the inline response view of Outlook?
Posted 13 Feb, 2018 06:01:47 Top
Andrei Smolin


Add-in Express team


Posts: 14803
Joined: 2006-05-11
Hello Bas,

If you mean the inline response itself, you can show an Add-in Express form in a ReadingPane-related region e.g. BottomReadingPane. Use the InlineResponseEx and InlineResponseCloseEx events of the ADXOutlookAppEvents component to identify the moments when the pane should be shown/hidden.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 13 Feb, 2018 06:51:40 Top
Bas Wanders




Posts: 11
Joined: 2012-05-30
Thanks Andrei!

I found out how to display it in the explorer view.
In the forms collection:
RightReadingPane: RightReadingPane

And also how to display/hide it

Private Sub OutlookEvents_ExplorerInlineResponse(sender As Object, itemObject As Object) Handles OutlookEvents.ExplorerInlineResponse
MyNameOlFormsCollectionItem.GetCurrentForm.Show()
End Sub

Private Sub OutlookEvents_ExplorerInlineResponseCloseEx(sender As Object, sourceObject As Object) Handles OutlookEvents.ExplorerInlineResponseCloseEx
MyNameOlFormsCollectionItem.GetCurrentForm.Hide()
End Sub

Now I only need to figure out how I can hide it when Outlook starts.
Posted 13 Feb, 2018 07:04:58 Top
Andrei Smolin


Add-in Express team


Posts: 14803
Joined: 2006-05-11
In the ADXOlForm.ADXBeforeFormShow event, when the form instance is about to show, set the ADXOlForm.Visible property as required to let the instance show or prevent it from showing.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 13 Feb, 2018 07:12:31 Top
Bas Wanders




Posts: 11
Joined: 2012-05-30
Works perfectly!
Thanks a lot Andrei!
Posted 13 Feb, 2018 07:32:11 Top
Andrei Smolin


Add-in Express team


Posts: 14803
Joined: 2006-05-11
You are welcome!

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 13 Feb, 2018 07:58:53 Top