VSTO Outlook: Remove title bar from custom task pane - outlook

Is it possible to remove or hide the title bar from an Outlook custom task pane? If so how. If not, maybe using a hack? Using a hack, how?

There is no trivial way of getting the job done. The Outlook extensibility model doesn't provide anything for that.
You can try using Windows API functions for subclassing Outlook windows and injecting your own form in Outlook using the SetWindowsHookEx function. Read more about that in the Hooks Overview article. This technology is called adjucent windows in Outlook.
Also you may take a look at Advanced Outlook view and form regions from Add-in Express.

Related

VSTO Outlook: Change border and header background color of custom task pane

I have an VSTO Outlook Add-in. I have put a custom task pane at the top. This custom task pane contains an WPF user control.Now I am trying to change the background color of the header (title bar) and borders of the custom task pane (I am not referring to the background of the WPF user control). Is it possible? If so how?
No, it is not. The Office extensibility model doesn't provide anything for that out of the box. You may try using the Windows API functions for that, at lease you can inject your own form. Such forms MS calls Adjucent Outlook windows. Note, you need to have a deep understanding of Windows API to move that way, see SetWindowsHookEx.
Also you may take a look at Add-in Express based form regions and views, see How to add a custom header to your Outlook form or task pane: C# and VB.NET for more information.

Outlook web addin issues

I am developing an Outlook Web Addin using Fabric UI.I have run into couple of issues which are given as follows:
The following is my outlook web addin screen shot:
1:
Issue #1 : I do not have access to addin title "My Test Outlook Web Addin" from within my code. I want to change the CSS properties of the title but I do not seem to have access. This title is defined in an XML file.
Issue #2: I have "Save" and "Cancel" buttons. In their call backs I need to perform some task and close the addin dialog. But I am not able to close the addin dialog. I can close the addin by clicking 'X' icon on the top, but not from within my code.
Issue #3, How to get file types icon with plane JS? (https://developer.microsoft.com/en-us/fabric#/styles/web/file-type-icons)
I am not using React or AngularJS. I am using Core fabric UI with plane JS.
Any help on these issues and on how to control properties of outlook web addin is highly appreciated.
Thanks!
For Issue #1: It is currently not possible to change the styling of the title bar. We track Outlook add-in feature requests on our user-voice page. Please add your request there. Feature requests on user-voice are considered when we go through our planning process.
For Issue #2: You can use the closeContainer API to close the add-in task pane.

Can I add a button to my add-in next to Send/Discard buttons?

I am writing an Outlook Add-In (Web version, Desktop) and so far I was able to add a link to my app in the contextual menu (see screenshot below - highlighted in yellow). This work well, but it is almost impossible to find the add-in and this is resulting in a ton of customer support calls. I was wondering if there is a way to add the button next to "Send", "Discard", or after the "Elipsis" buttons. This way the add-in would be more visible.
I was thinking about directly modifying the DOM if it is not possible, but I would prefer to not do that.
You can add a button there neither from a web based JS addin nor from a COM based addin for the desktop version of Outlook.

How i can add button to main menu not inside message

How to add button to main menu behind "Mark all as read"
instead of showing button inside email body read document but it doesn't help me to find solution,
You cannot get your add-in icon displayed in any place you like. The add-in controls are defined by manifest and displayed in predefined locations of particular client (Outlook Web, Outlook desktop for Windows or Mac, Mobile). Up to developers (Microsoft team) to define the place where the add-in controls will be displayed.
EDIT:
There are two places where add-ins may appear in the client interface. This depends on what type of add-in you have created. There are command add-in and contextual add-in. Both of them will appear somewhat in the space of the message view anyway. The following are examples of where they appear withing the interface ...
And for web view ...
To read more on Outlook add-ins Extension points got to Outlook Add-ins overview article.
Currently the feature you requested is not a part of the product. However, we track Outlook add-in feature requests on our user-voice page. Please add your request there. Feature requests on user-voice are considered when we go through our planning process.

How can an add-in add a NavigationModule in Outlook 2007?

How can I a NavigationModule to the Outlook 2007 Navigation Pane? I'd like to do it through the API but other solutions are good too.
This can not be done through the OOM, you really only have Form regions which I guess may not fit the bill.
It could be done through Subclassing and Hooking resize events at a win api level.

Resources