<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: ShowDialog. Закрытие диалога кнопкой.]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=16296&amp;type=atom" />
	<updated>2021-04-28T17:32:27Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=16296</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ShowDialog. Закрытие диалога кнопкой.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=147532#p147532" />
			<content type="html"><![CDATA[<p>Наверное никак, в стандартном AHK нет функции &#039;ShowDialog&#039;.</p>]]></content>
			<author>
				<name><![CDATA[__Михаил__]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40928</uri>
			</author>
			<updated>2021-04-28T17:32:27Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=147532#p147532</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: ShowDialog. Закрытие диалога кнопкой.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=147531#p147531" />
			<content type="html"><![CDATA[<p>Как сделать, чтобы в <em>ShowDialog</em> вторая кнопка (Кнопка &quot;Закрыть&quot;)&nbsp; закрывала окно, а не запускала выбранный пункт?</p><div class="codebox"><pre><code>
F9::
{
	ShowDialog(2, &quot;Заголовок&quot;, &quot;Пункт 1`nПункт 2&quot;, &quot;Выбрать&quot;, &quot;Закрыть&quot;)
	f := getDialogLineNumber()
	{
		if (f == 1)
		{
		addChatMessage(&quot;Вы выбрали пункт 1&quot;)
		}
		if (f == 2)
		{
		addChatMessage(&quot;Вы выбрали пункт 2&quot;)
		}
	}
}
return
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Aleksey Kotow]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=41680</uri>
			</author>
			<updated>2021-04-28T15:41:45Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=147531#p147531</id>
		</entry>
</feed>
