Mark appointment with custom icon in VSTO Outlook - outlook

I want to do something like this: I export calendar event from Outlook calendar, and when I do it, I want to mark this appointment with custom icon. I already tried custom forms, but it only marked this event inside it, that means when I open it I got my icon in top left corner, but I want this icon for example in month view, where are all appointments and I want to quickly see which are exported and which not (screen below, little icon should be on right side of these fields).
Can someone give any tip how to do it in VSTO? Or is it possible at all?

You cannot do that. The best you can do is change the appointment color.

Related

How to add navigation buttons in outlook add-on?

Is there any way to add back button, more options button like (log out, help, manage) to our outlook add-ons.I googled it, but end up with no answers relevant to that. Currently, I'm doing it by placing images of back button below the plugin title panel.
I expect this to be on the title panel so that it looks better.is there any ways to do that?
Thanks in advance !
Using command bar, tab bar and back button are the recommended UX design pattern for navigation in Office add-ins.

Outlook Email User Interface (UI) Customization display like Tab or mobile

I have requirement of outlook( desktop application) view customization . My requirement is when i click on Email item then Email list should be hidden and again if i click on back button of reading pane mail list should be displayed to user in sliding manner (slide effect like Apple Tab (slide in Slide Out Effect in mail app )) please suggest me any tool , interface , customization third party application , or Visual studio app.
please suggest as early as possible.
thanks in advance
Rohit
Unfortunately want you want to do is impossible. Outlook views always require a list of items to be displayed (whether it's a Table, Card, List view, etc.). The only UI elements you can control are the Reading Pane and the Folder Pane.
There is no way to customize the built-in UI. The Outlook extensibility model doesn't provide anything for that out of the box. As a workaround you can develop an adjacent Outlook window where you can display whatever you need. See Creating Adjacent Windows In Outlook for more information.

Programmatically open Notification Center / Today view

Is there any way (that would be accepted by an AppStore review) how to open the today view of the Notification Center? I searched the docs for NSNotificationCenter but if there is a way, this seems to be the wrong place to look.
My requirement is, that I am developing a Today Extension for the Notification Center. The main application is only used to configure the settings of that extension. All content is displayed in the widget. Now I want to implement notifications: If there is new content in the widget I want to send a push notification. When the user clicks the notification in the top right corner I would like to open the Notification Center and focus my widget (if the user has many widgets, it might not be in the viewport).
I have a strong guess this is not feasible. I hope someone can prove me wrong.
You have reached a dead-end.
There is no api or event to support display of TODAY notification view.
It is left for users 'will', when he wish to navigate to TODAY view, as otherwise it can easily become a inconvenience.

How do I enable/disable my Ribbon Buttons in Outlook

I have an Outlook Add-in created with VSTO. Using the Ribbon Designer I have created a tab with three buttons on it. (Environment: Outlook 2010, .NET 4.0, VSTO latest runtime)
When one of the buttons is pressed a modeless dialog is opened. As long as the user is working on this dialog I do not want him to be able to press the button again. So basically I want to gray out the button till the dialog is closed. How can I do this?
For whatever reason, in the button click handler, if I do this.button1.enabled = false; it is just not working. Am I missing something about the way ribbons work.
Thanks
You need to re-render the control using IRibbonUI.InvalidateControl(controlID) or IRibbonUI.Invalidate(). See MDSN on how to dynamically update the Fluent UI for reference. This is done for performance reasons so that you can change all your Fluent UI settings and then re-render all control changes at once. However, if you are only changing one UI element (as you indicate) this can seem confusing and unnecessary.

Custom CommonDialog/PrintDialog Newbie Question

I am trying to create my first custom Print Dialog in C#. I found some samples online that I'm working with to do this.
What I want to do is to put a button underneath the Properties button in the upper right corner. The code samples I have seen so far put new controls on the bottom of the Dialog relative to the position of the OK and Cancel buttons. Those code samples allow one to retrieve the handle of the OK or Cancel buttons because they're universal constants in Dialog controls. Fair enough, but how would I go about getting the handle on the Properties button so I could insert my button underneath?
You can use SPY++ to figure out the control Id of any control, those ids a solid across Windows versions. You can read here (old but still relevant) on how to use SPY++ to obtain control Ids.

Resources