是否可以编写可修改用户界面颜色的Outlook外接程序? [英] Is it possible to write an outlook add-in that modifies the color of the user interface?

查看:60
本文介绍了是否可以编写可修改用户界面颜色的Outlook外接程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想编写一个Outlook加载项,当用户打开来自公司外部发件人的电子邮件时,该加载项会更改Outlook窗口的颜色.

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.

有人可以告诉您如何更改Outlook窗口的颜色吗?另外,我需要使用MAPI吗?

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

推荐答案

就您而言,这是不可能的.

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

自2007年以来,Outlook UI的颜色由用户的颜色首选项(蓝色,银色或黑色,或者在2013年:白色,灰色,深灰色)定义.没有提供API允许加载项更改此设置,更不用说按每个窗口了.

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.

从理论上讲,可以将代码注入Outlook进程并劫持窗口绘制方法,但这将需要您进行大量逆向工程.

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.

这篇关于是否可以编写可修改用户界面颜色的Outlook外接程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆