Disable CE windows animation, programmatically?

☆樱花仙子☆ 提交于 2020-01-02 05:33:42

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/3268631/disable-ce-windows-animation-programmatically

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!