VSTO Outlook: Change the background color of the title bar and boders of a custom task pane

R R 6 Reputation points
2022-10-19T13:47:23.58+00:00

Is it possible to change the background color of the title bar and borders of a custom task pane?
I am not referring to the background color of the user control embedded.

Microsoft 365 and Office | Development | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Eugene Astafiev 891 Reputation points
    2022-10-19T14:14:15.897+00:00

    No, the Outlook extensibility model doesn't provide anything for that.

    As a possible workaround you may consider creating an adjacent Outlook window using Windows API functions (by subclassing Outlook windows).

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.