I have been able to uses the SystemParametersInfo function (https://msdn.microsoft.com/en-us/librar ... s.85).aspx) to remove some animations her and there in the windows desktop, and pretty much got the same results at the above picture.
However i cant rseme to finde the function to remove the animations effect in the toolbar. The effect from advanced settings are highlighted below with a red arrow.
How can i remove those animations by Dllcall or any non permanent way?
What the DLLcall to disalbe animation in taskbar
- KuroiLight
- Posts: 327
- Joined: 12 Apr 2015, 20:24
- Contact:
Re: What the DLLcall to disalbe animation in taskbar
They can be changed via the registry RegWrite
I found a list of said keys here: https://www.sevenforums.com/customizati ... mmand.html
To apply said settings after changes use SHChangeNotify with SHCNE_ALLEVENTS, atleast in theory.
use this instead to apply setting changes SendMessage, 0x1A,,,, ahk_id 0xFFFF.
I found a list of said keys here: https://www.sevenforums.com/customizati ... mmand.html
use this instead to apply setting changes SendMessage, 0x1A,,,, ahk_id 0xFFFF.
Windows 10, Ryzen 1600, 16GB G.Skill DDR4, 8GB RX 480 | [MyScripts][MySublimeSettings] [Unlicense][MIT License]
01/24/18
[/color]Re: What the DLLcall to disalbe animation in taskbar
Thank you, but I was looking for a non permanent way to do it. preferably with a DLLcallKuroiLight wrote:They can be changed via the registry RegWrite
I found a list of said keys here: https://www.sevenforums.com/customizati ... mmand.html
To apply said settings after changes use SHChangeNotify with SHCNE_ALLEVENTS, atleast in theory.
use this instead to apply setting changes SendMessage, 0x1A,,,, ahk_id 0xFFFF.
- KuroiLight
- Posts: 327
- Joined: 12 Apr 2015, 20:24
- Contact:
Re: What the DLLcall to disalbe animation in taskbar
you can write the values and set them back after your done, doesn't have to be permanent.
Take a look at SystemParametersInfo, this seems to to be the proper way (outside the registry).
Take a look at SystemParametersInfo, this seems to to be the proper way (outside the registry).
Windows 10, Ryzen 1600, 16GB G.Skill DDR4, 8GB RX 480 | [MyScripts][MySublimeSettings] [Unlicense][MIT License]
01/24/18
[/color]Re: What the DLLcall to disalbe animation in taskbar
That the one I used to remove all the other annoying animations but i cant find anything about the task-bar animationsKuroiLight wrote:you can write the values and set them back after your done, doesn't have to be permanent.
Take a look at SystemParametersInfo, this seems to to be the proper way (outside the registry).
Code: Select all
WinAnimate(newMinAnimate)
{
szANIMATIONINFO := 8
VarSetCapacity(ANIMATIONINFO, szANIMATIONINFO)
NumPut(szANIMATIONINFO, ANIMATIONINFO,, "UInt")
NumPut(newMinAnimate, ANIMATIONINFO, 4, "Int")
DllCall("SystemParametersInfo", "UInt", 0x0049, "UInt", szANIMATIONINFO, "Ptr", &ANIMATIONINFO, "UInt", 0x00)
}
MenuAnimate(newMenuAnimate)
{
DllCall("SystemParametersInfo", "UInt", 0x1003, "Uint", 0, "Char", newMenuAnimate, "UInt", 0x00)
}
MenuDelay(newMenuDelay)
{
DllCall("SystemParametersInfo", "UInt", 0x006B, "UInt", NewMenuDelay, "Ptr", 0, "UInt", 0x00)
}
ComboAnimate(newComboAnimate)
{
DllCall("SystemParametersInfo", "UInt", 0x1005, "Uint", 0, "Char", newComboAnimate, "UInt", 0x00)
}
ToolTipAnimate(newToolTipAnimate)
{
DllCall("SystemParametersInfo", "UInt", 0x1017, "Uint", 0, "Char", newToolTipAnimate, "UInt", 0x00)
}
- KuroiLight
- Posts: 327
- Joined: 12 Apr 2015, 20:24
- Contact:
Re: What the DLLcall to disalbe animation in taskbar
All that settings window does is edit the registry settings, so that may be the only way to do it.
Windows 10, Ryzen 1600, 16GB G.Skill DDR4, 8GB RX 480 | [MyScripts][MySublimeSettings] [Unlicense][MIT License]
01/24/18
[/color]