以编程方式禁用CE Windows动画? [英] Disable CE windows animation, programmatically?

查看:124
本文介绍了以编程方式禁用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?

推荐答案

看看

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动画?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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