以编程方式禁用CE

以编程方式禁用CE

本文介绍了以编程方式禁用CE Windows动画?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是使用注册表项的方法.

Here is how to do it with a registry key.

*  Go to HKEY_LOCAL_MACHINE\SYSTEM\GWE
* Create a DWORD named Animate if it does not already exist
* Edit the DWORD value named Animate
* 0 - Disables Window Animation
  1 - Enables Window Animation

但是,它需要重新启动设备.我想知道是否有通过程序立即禁用它的方法?

However, it needs restart of the device. I would like to know if there is anyway to disable it instantly, programmatically?

推荐答案

看看 SystemParametersInfo .没有动画设置,但是如果您通知GWES不同的更改,它也会更新动画状态.

Take a look at SystemParametersInfo. There is no animation setting, but maybe if you notify GWES of a different change it will also update the animation state.

这篇关于以编程方式禁用CE Windows动画?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-15 08:00