Is it possible to write an outlook add-in that modifies the color of the user interface?

China☆狼群 提交于 2020-01-06 06:56:08

问题


I'd like to write an outlook add-in that changes the color of the Outlook window when the user opens an e-mail that comes from a sender external to the company.

Can someone tell how to change the color of the outlook window? Also, will I need to use MAPI?


回答1:


As far as you're concerned, it is not possible.

Since 2007, the color of the Outlook UI is defined by the user's color preference (Blue, Silver, or Black, or in 2013: White, Grey, Dark Grey). There is no API provided to allow add-ins to change this setting, let alone on a per-window basis.

Hypothetically it is possible to inject code into the Outlook process and hijack the window painting methods, but this would require a huge amount of reverse-engineering skill on your part.



来源:https://stackoverflow.com/questions/13406306/is-it-possible-to-write-an-outlook-add-in-that-modifies-the-color-of-the-user-in

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!