问题
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