<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: Настройка - Анимация окон при свёртывании и развёртывании]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=5333</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=5333&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Настройка - Анимация окон при свёртывании и развёртывании».]]></description>
		<lastBuildDate>Sat, 01 Jan 2011 19:10:19 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[AHK: Настройка - Анимация окон при свёртывании и развёртывании]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=43257#p43257</link>
			<description><![CDATA[<p>Скрипт был написан в целях самообразования, но возможно кому-то будет полезен, &quot;переключатель анимации окон&quot;:&nbsp; <br />(настройка Windows: Панель управления&gt;Свойсва ситемы&gt;Дополнительно&gt;Быстродействие&gt;Параметры&gt;Анимация окон при свёртывании и развёртывании)</p><p><a href="http://onemove.ru/32862/">Animation[On-Off].zip</a><br />запускаем программу, она узнаёт в каком состоянии настройка анимации и переключает её на обратную.</p><p>исходники:</p><p>AutoHotkey<br /></p><div class="codebox"><pre><code>VarSetCapacity(AnimationInfo, 8,0) 
cbSize := VarSetCapacity(AnimationInfo)
NumPut(cbSize, AnimationInfo, 0, &quot;UInt&quot;)
DllCall(&quot;SystemParametersInfo&quot;, UInt, 0x48, UInt, cbSize, &quot;UInt&quot;, &amp;AnimationInfo, UInt, 1 )
set := NumGet(AnimationInfo,4)
NumPut(!set, AnimationInfo, 4, &quot;Int&quot;)
DllCall(&quot;SystemParametersInfo&quot;, UInt, 0x49, UInt, cbSize, &quot;UInt&quot;, &amp;AnimationInfo, UInt, 1 )</code></pre></div><p>PureBasic<br /></p><div class="codebox"><pre><code>AnimationInfo.ANIMATIONINFO
AnimationInfo\cbSize=SizeOf(AnimationInfo)
SystemParametersInfo_(#SPI_GETANIMATION,AnimationInfo\cbSize,@AnimationInfo,1)
AnimationInfo\iMinAnimate=(Not AnimationInfo\iMinAnimate)
SystemParametersInfo_(#SPI_SETANIMATION,AnimationInfo\cbSize,@AnimationInfo,1)</code></pre></div><p>материалы используемые в процессе написания:<br /><a href="http://www.autohotkey.com/forum/topic13001-285.html">AutoHotkey forum</a><br />search: SPI_SETANIMATION<br /><a href="http://msdn.microsoft.com/en-us/library/ms724947(VS.85).aspx">mdsn</a></p>]]></description>
			<author><![CDATA[null@example.com (kirtech)]]></author>
			<pubDate>Sat, 01 Jan 2011 19:10:19 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=43257#p43257</guid>
		</item>
	</channel>
</rss>
