<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK : Перемещение кнопки путём увеличения или уменьшен координат X и Y]]></title>
	<link rel="self" href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=12825&amp;type=atom" />
	<updated>2017-07-19T16:44:12Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=12825</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK : Перемещение кнопки путём увеличения или уменьшен координат X и Y]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=117402#p117402" />
			<content type="html"><![CDATA[<p>Вместо &quot;vk44&quot;, пиши любой другой код виртуальной кнопки, а так я не спец в Gui, точнее, я Gui мало интересуюсь.</p>]]></content>
			<author>
				<name><![CDATA[svoboden]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=34280</uri>
			</author>
			<updated>2017-07-19T16:44:12Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=117402#p117402</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK : Перемещение кнопки путём увеличения или уменьшен координат X и Y]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=117393#p117393" />
			<content type="html"><![CDATA[<p>Именно то что я хотел! Большое спасибо. А вы бы не могли дать любые контактные данные, что бы в будущем я смог с вами связатся?</p><p>(Еще момент, как изменить клавиши для передвижения объекта?)</p>]]></content>
			<author>
				<name><![CDATA[MirchikAhtung]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=38635</uri>
			</author>
			<updated>2017-07-18T20:40:53Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=117393#p117393</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK : Перемещение кнопки путём увеличения или уменьшен координат X и Y]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=117391#p117391" />
			<content type="html"><![CDATA[<p>Поверх своего скрипта, запусти этот:<br /></p><div class="codebox"><pre><code>x = 500
y =  300
VarSetCapacity(pt,8)
Gui, +Hwndhgui -Caption +ToolWindow
Gui, Margin,0,0
Gui, Add, Button, w200 h50 , Button

hParentWnd:=WinActive(&quot;A&quot;)
DllCall(&quot;GetCursorPos&quot;,&quot;uint&quot;,&amp;pt)
DllCall(&quot;ScreenToClient&quot;,&quot;uint&quot;,hParentWnd,&quot;uint&quot;,&amp;pt)

DllCall(&quot;SetParent&quot;,&quot;uint&quot;,hgui,&quot;uint&quot;,hParentWnd)
Gui, Show, x%x% y%y%
return

vk44:: 
x += 2
Gui, Show, x%x% y%y%
return

vk41::
x -= 2
Gui, Show, x%x% y%y%
return

vk57::
y -= 2
Gui, Show, x%x% y%y%
return

vk53::
y += 2
Gui, Show, x%x% y%y%
return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[svoboden]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=34280</uri>
			</author>
			<updated>2017-07-18T19:36:40Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=117391#p117391</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK : Перемещение кнопки путём увеличения или уменьшен координат X и Y]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=117390#p117390" />
			<content type="html"><![CDATA[<p>Обновил</p>]]></content>
			<author>
				<name><![CDATA[MirchikAhtung]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=38635</uri>
			</author>
			<updated>2017-07-18T19:02:48Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=117390#p117390</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK : Перемещение кнопки путём увеличения или уменьшен координат X и Y]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=117378#p117378" />
			<content type="html"><![CDATA[<p>Что я имею в виду:</p><p>Что бы по нажатию на W координаты кнопки (X) увеличивались на 2(или любое другое число).</p>]]></content>
			<author>
				<name><![CDATA[MirchikAhtung]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=38635</uri>
			</author>
			<updated>2017-07-18T16:19:31Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=117378#p117378</id>
		</entry>
</feed>
