Reputation: 1781
I'm creating an Outlook add-ins and when the user clicks the add-ins icon (on the top right corner of the screen, see the screenshot) I want to show a dialog in the center of the screen instead of showing the task pane.
Can anyone please tell me how can I do that?
Because every time I click the add-ins icon a task pane is opened by default.
Upvotes: 1
Views: 1213
Reputation:
You can achieve this by declaring single uiless action (ExecuteFunction) in your addin manifest, and run dialog api in your uiless function to show dialog in the center of screen.
Upvotes: 2