Last active
July 2, 2017 00:49
-
-
Save tmplinshi/70a8f7879d94b20a42a9d94ca12c1a82 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DisableFadeEffect() { | |
; SPI_GETCLIENTAREAANIMATION = 0x1042 | |
DllCall("SystemParametersInfo", "UInt", 0x1042, "UInt", 0, "UInt*", isEnabled, "UInt", 0) | |
if isEnabled { | |
; SPI_SETCLIENTAREAANIMATION = 0x1043 | |
DllCall("SystemParametersInfo", "UInt", 0x1043, "UInt", 0, "UInt", 0, "UInt", 0) | |
Progress, 10:P100 Hide | |
Progress, 10:Off | |
DllCall("SystemParametersInfo", "UInt", 0x1043, "UInt", 0, "UInt", 1, "UInt", 0) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment