<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Прогресс бар для ожидания ответа от сервера]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=15956&amp;type=atom" />
	<updated>2020-12-28T12:11:27Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=15956</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Прогресс бар для ожидания ответа от сервера]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=144393#p144393" />
			<content type="html"><![CDATA[<p><strong>ypppu</strong> Спасибос !</p>]]></content>
			<author>
				<name><![CDATA[Botsy]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=41069</uri>
			</author>
			<updated>2020-12-28T12:11:27Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=144393#p144393</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Прогресс бар для ожидания ответа от сервера]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=144392#p144392" />
			<content type="html"><![CDATA[<p><a href="https://autohotkey.com/board/topic/12306-infinite-progress-bar/">https://autohotkey.com/board/topic/1230 … gress-bar/</a><br /></p><div class="codebox"><pre><code>Gui, Add, Progress, vlvl -Smooth 0x8 w350 h18 ; PBS_MARQUEE = 0x8
Gui, Show, , Example
SetTimer, Push, 45

Push:
GuiControl, , lvl, 1
Return

GuiClose:
ExitApp</code></pre></div>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2020-12-28T11:25:15Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=144392#p144392</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Прогресс бар для ожидания ответа от сервера]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=144391#p144391" />
			<content type="html"><![CDATA[<p>Добрейшего дня! Подскажите принцип создания прогресс бара во время ожидания ответа от сервера? Например мы обращаемся к серверу и ждём от него ответ, и вот пока мы ждём, был бы прогресс бар. Возможно из-за неизвестного времени, прогресс бар не от 0% к 100%, а просто preloader, показывающий, что программа &quot;думает&quot;. <br /></p><div class="codebox"><pre><code>
например, во время команды &quot;http.WaitForResponse()&quot; или со старта блока try. 
try 
{
	link := &quot;&quot;
	http := ComObjCreate(&quot;WinHTTP.WinHTTPRequest.5.1&quot;)
	http.Open(&quot;POST&quot;, link, False)
	http.SetRequestHeader(&quot;Content-Type&quot;, &quot;application/x-www-form-urlencoded&quot;)
	http.Send()
	http.WaitForResponse()
	time := http.ResponseText
}
catch e
{
	msgbox, No internet connection.
}
</code></pre></div><p><a href="https://imgbb.com/"><span class="postimg"><img src="https://i.ibb.co/ssQQ9MQ/preloader.png" alt="https://i.ibb.co/ssQQ9MQ/preloader.png" /></span></a></p><p>Всех с наступающим!</p>]]></content>
			<author>
				<name><![CDATA[Botsy]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=41069</uri>
			</author>
			<updated>2020-12-28T09:29:43Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=144391#p144391</id>
		</entry>
</feed>
