What the DLLcall to disalbe animation in taskbar

Get help with using AutoHotkey and its commands and hotkeys
SvenBent
Posts: 266
Joined: 09 Aug 2015, 01:34

What the DLLcall to disalbe animation in taskbar

06 Oct 2017, 20:48

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.

Image

How can i remove those animations by Dllcall or any non permanent way?
User avatar
KuroiLight
Posts: 327
Joined: 12 Apr 2015, 20:24
GitHub: KuroiLight

Re: What the DLLcall to disalbe animation in taskbar

06 Oct 2017, 22:07

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.
Windows 10, Ryzen 1600, 16GB G.Skill DDR4, 8GB RX 480 | [MyScripts][MySublimeSettings] [Unlicense][MIT License]
01/24/18
[/color]
SvenBent
Posts: 266
Joined: 09 Aug 2015, 01:34

Re: What the DLLcall to disalbe animation in taskbar

10 Oct 2017, 18:45

KuroiLight 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.
Thank you, but I was looking for a non permanent way to do it. preferably with a DLLcall
User avatar
KuroiLight
Posts: 327
Joined: 12 Apr 2015, 20:24
GitHub: KuroiLight

Re: What the DLLcall to disalbe animation in taskbar

10 Oct 2017, 19:06

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).
Windows 10, Ryzen 1600, 16GB G.Skill DDR4, 8GB RX 480 | [MyScripts][MySublimeSettings] [Unlicense][MIT License]
01/24/18
[/color]
SvenBent
Posts: 266
Joined: 09 Aug 2015, 01:34

Re: What the DLLcall to disalbe animation in taskbar

10 Oct 2017, 20:15

KuroiLight 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).
That the one I used to remove all the other annoying animations but i cant find anything about the task-bar animations

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)
	}
User avatar
KuroiLight
Posts: 327
Joined: 12 Apr 2015, 20:24
GitHub: KuroiLight

Re: What the DLLcall to disalbe animation in taskbar

10 Oct 2017, 20:43

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]

Return to “Ask For Help”

Who is online

Users browsing this forum: boiler, Google [Bot], Phryq and 38 guests