<?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=13156&amp;type=atom" />
	<updated>2017-11-05T12:36:56Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=13156</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Формы окон и элементов управления]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=120829#p120829" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>Gui, Main: New
Gui, Child: -Caption +ToolWindow +ParentMain
Gui, Child: Color, Red
Gui, Child: Show, NA x50 y50 w100 h100
Gui, Main: Show, w200 h200
OnMessage(0x201, &quot;WM_LBUTTONDOWN&quot;)
return

WM_LBUTTONDOWN(wp, lp, msg, hwnd)  {
   ToolTip % A_Gui
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2017-11-05T12:36:56Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=120829#p120829</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Формы окон и элементов управления]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=120819#p120819" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />Окей, пока буду довольствоваться этими острыми краями.<br />Но все же на один вопрос не ответили. <br />Как отследить клик по дочернему окну?</p>]]></content>
			<author>
				<name><![CDATA[shahlik002]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=37352</uri>
			</author>
			<updated>2017-11-05T08:08:22Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=120819#p120819</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Формы окон и элементов управления]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=120788#p120788" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>shahlik002 пишет:</cite><blockquote><p>Как сюда запихнуть сглаживание границ?</p></blockquote></div><p>Сюда никак. Можно воспользоваться <a href="https://autohotkey.com/boards/viewtopic.php?f=6&amp;t=6517">GDI+</a>, но там и окно и элементы управления полностью отрисовывать вручную придётся.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2017-11-04T17:34:46Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=120788#p120788</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Формы окон и элементов управления]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=120777#p120777" />
			<content type="html"><![CDATA[<p>Две картинки выложите: на одной - что не нравится, на другой - как должно быть.</p>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2017-11-04T15:27:15Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=120777#p120777</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Формы окон и элементов управления]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=120768#p120768" />
			<content type="html"><![CDATA[<p><strong>ypppu</strong><br />Ну такой себе вырви-глаз выходит при использовании winset,region.<br />Может можно сделать границу окна более гладкой?</p>]]></content>
			<author>
				<name><![CDATA[shahlik002]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=37352</uri>
			</author>
			<updated>2017-11-04T14:53:43Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=120768#p120768</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Формы окон и элементов управления]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=120719#p120719" />
			<content type="html"><![CDATA[<p>Про треугольную кнопку уже ответили в другой теме: используйте картинки с прозрачностью. А что за сглаживание границ?</p>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2017-11-03T12:52:16Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=120719#p120719</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Формы окон и элементов управления]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=120713#p120713" />
			<content type="html"><![CDATA[<p>И еще пару вопросов.<br />Как сюда запихнуть сглаживание границ?<br />Как отследить клик по дочернему окну?</p>]]></content>
			<author>
				<name><![CDATA[shahlik002]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=37352</uri>
			</author>
			<updated>2017-11-03T08:20:31Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=120713#p120713</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Формы окон и элементов управления]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=120711#p120711" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />С окнами ляпота, а как на счет элементов управления? Хочу треугольную кнопку <img src="//forum.script-coding.com/img/smilies/big_smile.png" width="15" height="15" /> <img src="//forum.script-coding.com/img/smilies/big_smile.png" width="15" height="15" /> <img src="//forum.script-coding.com/img/smilies/big_smile.png" width="15" height="15" /></p>]]></content>
			<author>
				<name><![CDATA[shahlik002]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=37352</uri>
			</author>
			<updated>2017-11-03T08:17:48Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=120711#p120711</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Формы окон и элементов управления]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=120690#p120690" />
			<content type="html"><![CDATA[<p>Вот ещё:<br /></p><div class="codebox"><pre><code>Gui, Main: +LastFound -Caption +ToolWindow -DPIScale
Gui, Main: Color, 2419B2
WinSet, Region, % &quot;0-0 299-0 149-&quot; . 150*(3**.5)

Gui, Child: +ParentMain +LastFound -Caption +ToolWindow -DPIScale
Gui, Child: Color, FFC500
r := 100*(3**.5)/2, d := r*2
WinSet, Region, E w%d% h%d% 0-0

Gui, Child: Show, % &quot;x&quot; 151 - r &quot; y1 w&quot; d &quot; h&quot; d
Gui, Main: Show, w300 h300
OnMessage(0x201, &quot;WM_LBUTTONDOWN&quot;)
Return

WM_LBUTTONDOWN()  {
   PostMessage, WM_NCLBUTTONDOWN := 0xA1, HTCAPTION := 2
}
</code></pre></div><p><img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /></p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2017-11-01T20:50:09Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=120690#p120690</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Формы окон и элементов управления]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=120689#p120689" />
			<content type="html"><![CDATA[<p>WinSet, Region.<br /><a href="http://forum.script-coding.com/viewtopic.php?pid=88135#p88135">Вот пример.</a></p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2017-11-01T20:31:19Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=120689#p120689</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Формы окон и элементов управления]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=120686#p120686" />
			<content type="html"><![CDATA[<p>Как средствами нашего любимого AHK умудриться сделать не прямоугольное окно, а например трапецивидное, правильного пятиугольника или вообще какую-то кракозябру?<br />И как тоже самое проделать с контролами? Квадратные то легко, а вот шестиугольные как во многих стратегиях?<br />Иль вообще какой-то изометрический вид устроить?</p>]]></content>
			<author>
				<name><![CDATA[shahlik002]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=37352</uri>
			</author>
			<updated>2017-11-01T18:43:12Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=120686#p120686</id>
		</entry>
</feed>
