Windows Aero-以编程方式禁用视觉效果 [英] Windows Aero - Programmatically Disabling Visual Effects
问题描述
有人知道如何有一个API来以编程方式禁用/启用特定的Windows视觉效果,例如启用透明玻璃或启用Aero Peek吗?
Does anyone know how if there is an API to programmatically disable/enable specific Windows visual effects, like "Enable Transparent Glass" or "Enable Aero Peek" ?
我要指代的效果是在以下系统中配置的:系统/高级系统偏好设置/高级(选项卡)/性能设置/自定义
The effects I am referring to are those configured in: System/Advanced System preferences/Advanced (tab)/Performance Settings/Custom
我正在为Windows创建可访问性工具,我需要禁用某些视觉效果,因为它们对于视力障碍的用户是不可见的。另外,我需要保存一些CPU周期用于屏幕放大和色彩调整。
I am creating an accessibility tool for Windows and I need to disable some visual effects because they are "invisible" for sight-impaired users. Also, I need to save some CPU cycles for the screen magnification and color adjustments.
谢谢
推荐答案
否,可以使用 DwmEnableComposition()
。
No, it can be disabled while a particular application is running using DwmEnableComposition()
.
全局更改是Windows内部的操作,实际上应该由用户完成。
Changing it globally is internal to windows and should really be done by the user.
这篇关于Windows Aero-以编程方式禁用视觉效果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!