Windows Aero

编程入门 行业动态 更新时间:2024-10-19 08:50:46
本文介绍了Windows Aero-以编程方式禁用视觉效果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

有人知道如何有一个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

本文发布于:2023-11-12 04:03:14,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1580468.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Windows   Aero

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!