<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: Появление GUI вокруг точки нажатия]]></title>
		<link>http://forum.script-coding.com/viewtopic.php?id=11937</link>
		<atom:link href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=11937&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Появление GUI вокруг точки нажатия».]]></description>
		<lastBuildDate>Tue, 23 Aug 2016 19:14:49 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: Появление GUI вокруг точки нажатия]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=107007#p107007</link>
			<description><![CDATA[<p>Есть еще такое решение.<br /><a href="https://autohotkey.com/boards/viewtopic.php?f=6&amp;t=12078">https://autohotkey.com/boards/viewtopic … mp;t=12078</a></p>]]></description>
			<author><![CDATA[null@example.com (red2881)]]></author>
			<pubDate>Tue, 23 Aug 2016 19:14:49 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=107007#p107007</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Появление GUI вокруг точки нажатия]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=107003#p107003</link>
			<description><![CDATA[<p>Всем спасибо, дальше сам. Низкий поклон за вашу помощь.<br />Поторопился, как быть с приложениями?</p><p>Хм, сейчас работает.</p>]]></description>
			<author><![CDATA[null@example.com (Larec)]]></author>
			<pubDate>Tue, 23 Aug 2016 17:22:14 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=107003#p107003</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Появление GUI вокруг точки нажатия]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=107002#p107002</link>
			<description><![CDATA[<p>Можно бы каждую кнопку поместить в отдельный GUI.<br />8 кнопок по кругу:<br /></p><div class="codebox"><pre><code>CoordMode Mouse, Screen
PI := acos(0) * 2
N = 8
R := 100

MouseGetPos x0, y0
x0 -= 20, y0 -=15
Loop %N% {
	Gui %A_Index%:-Caption +ToolWindow
	Gui %A_Index%:Margin, 0, 0
	Gui %A_Index%:Add, Button, w40 h30, %A_Index%
	a := (2 * PI / N) * A_Index
	Gui %A_Index%:Show, % &quot;X&quot; (x0 + R * sin(a)) &quot; Y&quot; (y0 + R * cos(a))
}
</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (wisgest)]]></author>
			<pubDate>Tue, 23 Aug 2016 17:03:10 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=107002#p107002</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Появление GUI вокруг точки нажатия]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=107001#p107001</link>
			<description><![CDATA[<p>Примерно так и писал, но без Return во второй и не работало...<br />Есть ли возможность сделать прозрачной область всего всплывающего окна, кроме кнопок и с возможностью интерактива через невидимую область? И не работает во многих приложениях, но я где то видел решение.</p><p>Взял по соседству<br /></p><div class="codebox"><pre><code>
WinGet, WinHND, ID, A
Gui, +0x40000000 -0x80000000  +Owner%WinHND% -Caption +AlwaysOnTop +Lastfound
Gui, Color, Black
WinSet, TransColor, Black</code></pre></div><p>Прозрачность есть. Вылетает ошибка при повторном нажатии. И не работает в приложениях.</p>]]></description>
			<author><![CDATA[null@example.com (Larec)]]></author>
			<pubDate>Tue, 23 Aug 2016 16:51:26 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=107001#p107001</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Появление GUI вокруг точки нажатия]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=107000#p107000</link>
			<description><![CDATA[<p>Для примера.<br /></p><div class="codebox"><pre><code>CoordMode, Mouse, Screen
Return

MButton::
MouseGetPos, OutputVarX, OutputVarY
GUIx := OutputVarX - 150
GUIy := OutputVarY - 150
GUI, Add, Button, w100 h100 x100 y000, Верх
GUI, Add, Button, w100 h100 x000 y100, Лево
GUI, Add, Button, w100 h100 x200 y100, Право
GUI, Add, Button, w100 h100 x100 y200, Низ
GUI, Show, x%GUIx% y%GUIy% w300 h300
Return
</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (ypppu)]]></author>
			<pubDate>Tue, 23 Aug 2016 16:09:59 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=107000#p107000</guid>
		</item>
		<item>
			<title><![CDATA[AHK: Появление GUI вокруг точки нажатия]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=106999#p106999</link>
			<description><![CDATA[<p>Можете подсказать как сделать так что бы при нажатии средней кнопки мыши открывался ГУЙ с 4-мя кнопками, вокруг центра нажатия. Слева, снизу, справа, слева примерно как в Мае хотбоксы, может кто знаком.</p><p>Примерно понимаю как реализовать, но не понимаю как появляется Гуй, всегда в центре?</p>]]></description>
			<author><![CDATA[null@example.com (Larec)]]></author>
			<pubDate>Tue, 23 Aug 2016 15:30:24 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=106999#p106999</guid>
		</item>
	</channel>
</rss>
