<?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>https://forum.script-coding.com/viewtopic.php?id=16062</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=16062&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Перетаскивание GUI интерфейса».]]></description>
		<lastBuildDate>Sun, 07 Feb 2021 21:33:52 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: Перетаскивание GUI интерфейса]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=146038#p146038</link>
			<description><![CDATA[<p><strong>ilaseshatov931</strong> О, знакомый код).</p>]]></description>
			<author><![CDATA[null@example.com (Botsy)]]></author>
			<pubDate>Sun, 07 Feb 2021 21:33:52 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=146038#p146038</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Перетаскивание GUI интерфейса]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=146037#p146037</link>
			<description><![CDATA[<p>Что-то не вижу, что исправили.</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Sun, 07 Feb 2021 19:45:16 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=146037#p146037</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Перетаскивание GUI интерфейса]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=146036#p146036</link>
			<description><![CDATA[<p>исправил<strong>teadrinker</strong></p>]]></description>
			<author><![CDATA[null@example.com (ilaseshatov931)]]></author>
			<pubDate>Sun, 07 Feb 2021 19:41:46 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=146036#p146036</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Перетаскивание GUI интерфейса]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=146035#p146035</link>
			<description><![CDATA[<p><strong>ilaseshatov931</strong>, можно. Но может зависеть от того, какой элемент в фокусе. Поясню, когда оформление исправите.</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Sun, 07 Feb 2021 17:44:08 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=146035#p146035</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Перетаскивание GUI интерфейса]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=146033#p146033</link>
			<description><![CDATA[<p><span style="color: green"><strong>ilaseshatov931</strong>, предложения должны начинаться с заглавной буквы и заканчиваться знаками препинания. Исправьте здесь и в <a href="http://forum.script-coding.com/viewtopic.php?pid=145989#p145989">этой теме</a>.</span></p>]]></description>
			<author><![CDATA[null@example.com (ypppu)]]></author>
			<pubDate>Sun, 07 Feb 2021 16:43:04 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=146033#p146033</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Перетаскивание GUI интерфейса]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=146032#p146032</link>
			<description><![CDATA[<p><strong>teadrinker</strong><br />ну вы просто скажите можно ли GUI перетаскать когда есть Gui, -Caption -Border</p>]]></description>
			<author><![CDATA[null@example.com (ilaseshatov931)]]></author>
			<pubDate>Sun, 07 Feb 2021 16:31:50 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=146032#p146032</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Перетаскивание GUI интерфейса]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=146031#p146031</link>
			<description><![CDATA[<p><strong>ilaseshatov931</strong>, если хотите получить ответ на конкретный вопрос, нужно выложить наиболее простой код, демонстрирующий проблему, который сразу можно запустить. Не стоит выкладывать простыню на 100500 строк, никому не охота будет в ней разбираться.</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Sun, 07 Feb 2021 16:15:16 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=146031#p146031</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Перетаскивание GUI интерфейса]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=146030#p146030</link>
			<description><![CDATA[<p>Если убриаю Gui, -Caption -Border то работает <br />снизу код без Gui, -Caption -Border<br />Может кто нибудь оптимизировать мой код<br /></p><div class="codebox"><pre><code>#NoEnv
#include Forun.ahk
CoordMode, mouse
SetWorkingDir %A_ScriptDir%
SetWinDelay, -1
global hGui1, hB1, hB2
global Counts := &quot;&quot;
global ElapsedTime := &quot;&quot;
global ElapsedTime2 := &quot;&quot;
global ElapsedTime3 := &quot;&quot;
global ElapsedTime4 := &quot;&quot;

gamewin = 
posX1 := &quot;&quot;
posX2 := &quot;&quot;
posX3 := &quot;&quot;

Gui, Parent: New, ,Example Custom Gui
Gui, Parent: -DPIScale 
Gui, Parent: Margin, 0, 0
Gui, Parent: Add, ActiveX, w598 h435 vWB, about:&lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=edge&quot;&gt; 
WB.document.write(html)
WB.document.getElementById(&quot;myImage&quot;).src := StrReplace(A_ScriptDir . &quot;\sh.png&quot;, &quot;\&quot;, &quot;/&quot;)
WB.document.getElementById(&quot;bu2&quot;).addEventListener(&quot;mouseup&quot;, Func(&quot;OnBu1&quot;))
Gui, Parent: Show

Return


GuiClose:
   ExitApp
   
F12::ExitApp</code></pre></div><p>Это инклуд HTML<br /></p><div class="codebox"><pre><code>
html =
(
&lt;!DOCTYPE html&gt;
&lt;html&gt;
 &lt;head&gt;
  &lt;style&gt;
	html, body
	{
	margin: 0px;
	background-color: #afafaf;
	}


.button1
	{
	position: absolute;
	top: 452px;
	left: 50px;
	}
	
.btn {
	display: inline-block;
	color: transparent;
	background-color: transparent;
	text-align: center;
	font-size: 17px;
	border-radius: 5px;
	width: 100px;
	height: 30px;
	box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.15);
	outline: none; 
	padding: none;
	border: 1px solid transparent;
	transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
 }


.bu2
{
	background-color: #0569b2;
	color: #061e37;
	font-family: Raleway;
	position: absolute;
	bottom: 80px;
}

.bu2:hover 
{
	color: #f87d01;
	background-color: #0569b2;
	border-color: #f87d01;
}
 
.bu2:active 
{
	color: #f87d01;
	background-color: #0569b2;
	border-color: #f87d01;
}




  &lt;/style&gt;
 &lt;/head&gt;
&lt;body&gt;
&lt;div class=&quot;bgded&quot; id=&quot;bgimg&quot;&gt; 
	&lt;div class=&quot;menu&quot;&gt;
	&lt;img id=&quot;myImage&quot;&gt;
	&lt;div class=&quot;button1&quot;&gt;
	&lt;button type=&quot;button&quot; class=&quot;btn bu2&quot; id=&quot;bu2&quot;&gt;Меню UH&lt;/button&gt;
		&lt;/div&gt;
	&lt;/div&gt;
&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;
)



OnBu1() {

global WBBu1

html =
(
&lt;!DOCTYPE html&gt;
&lt;html&gt;
	&lt;head&gt;
		&lt;style&gt;
		.btn {
			display: inline-block;
			color: transparent;
			background-color: transparent;
			text-align: center;
			font-size: 18px;
			border-radius: 5px;
			width: 150px;
			height: 55px;
			box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.15);
			outline: none;
			padding: none;
			border: 1px solid transparent;
			transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
		}

		.Confirm
		{
			display: block;
			color: #237976;
			font-family: Raleway;
			font-weight: bold;
			position: relative;
			margin-left: auto;
			margin-right: auto;
			margin-top: 10`%;
			font-size: 20.85px;
			border-color: #237976;
		}

		.Confirm:hover 
		{
			color: #FFFFFF;
			background-color: #237976;
			border-color: transparent;
		}

		.Confirm:active 
		{
			color: #FFFFFF;
			background-color: #237976;
			border-color: transparent;
		}
		
		h1 
		{
			font-family: Raleway;
			font-weight: 600;
			font-size: 27px;
			margin: 25px; 
			outline: none; 
			padding: none;
			text-align: center;
		}
		
		.sText
		{
			text-align: left;
		}
		
		body
		{
			text-align: center;
		}
		
		html
		{
			width: 300px;
			height: 300px;
		}
		&lt;/style&gt;
	&lt;/head&gt;
	&lt;body&gt;
		&lt;h1&gt;BUTTON&lt;/h1&gt;
		&lt;div class=&quot;sText&quot;&gt;
		&lt;h1 id=&quot;li&quot;&gt;BUTTONS&lt;/h1&gt;
		&lt;/div&gt;
		&lt;button type=&quot;button&quot; id=&quot;ex&quot; class=&quot;btn Confirm&quot;&gt;OK&lt;/button&gt;
	&lt;/body&gt;
&lt;/html&gt;
)

Gui, Bu1: New, , Button
Gui, Bu1: Margin, 0, 0
Gui, Bu1: Add, ActiveX, w300 h300 vWBBu1, about:&lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=edge&quot;&gt; 
WBBu1.document.write(html)
WBBu1.document.getElementById(&quot;ex&quot;).addEventListener(&quot;mouseup&quot;, Func(&quot;OnClose&quot;))
Gui, Bu1: Show
return

Bu1GuiClose:
Gui, Destroy
return
}

OnButton() {
   MsgBox, Hi
   return
}

OnReelect() {
	Msgbox, hi
	return
}

OnClose() {
	Gui Err: Destroy
	Gui Bu1: Destroy
	Gui Egypt: Destroy
	return
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (ilaseshatov931)]]></author>
			<pubDate>Sun, 07 Feb 2021 16:10:49 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=146030#p146030</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Перетаскивание GUI интерфейса]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=146029#p146029</link>
			<description><![CDATA[<p><strong>ilaseshatov931</strong><br />Не работает.</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Sun, 07 Feb 2021 15:43:55 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=146029#p146029</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Перетаскивание GUI интерфейса]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=146026#p146026</link>
			<description><![CDATA[<p><strong>teadrinker</strong><br /></p><div class="codebox"><pre><code>
html =
(
&lt;!DOCTYPE html&gt;
&lt;html&gt;
 &lt;head&gt;
  &lt;style&gt;
	html, body
	{
	margin: 0px;
	background-color: #afafaf;
	}


.button1
	{
	position: absolute;
	top: 452px;
	left: 50px;
	}
	
.btn {
	display: inline-block;
	color: transparent;
	background-color: transparent;
	text-align: center;
	font-size: 17px;
	border-radius: 5px;
	width: 100px;
	height: 30px;
	box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.15);
	outline: none; 
	padding: none;
	border: 1px solid transparent;
	transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
 }


.bu2
{
	background-color: #0569b2;
	color: #061e37;
	font-family: Raleway;
	position: absolute;
	bottom: 80px;
}

.bu2:hover 
{
	color: #f87d01;
	background-color: #0569b2;
	border-color: #f87d01;
}
 
.bu2:active 
{
	color: #f87d01;
	background-color: #0569b2;
	border-color: #f87d01;
}




  &lt;/style&gt;
 &lt;/head&gt;
&lt;body&gt;
&lt;div class=&quot;bgded&quot; id=&quot;bgimg&quot;&gt; 
	&lt;div class=&quot;menu&quot;&gt;
	&lt;img id=&quot;myImage&quot;&gt;
	&lt;div class=&quot;button1&quot;&gt;
	&lt;button type=&quot;button&quot; class=&quot;btn bu2&quot; id=&quot;bu2&quot;&gt;Меню UH&lt;/button&gt;
		&lt;/div&gt;
	&lt;/div&gt;
&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;
)

OnEgypt() {

global WBEgypt

html =
(
&lt;!DOCTYPE html&gt;
&lt;html&gt;
	&lt;head&gt;
		&lt;style&gt;
		.btn {
			display: inline-block;
			color: transparent;
			background-color: transparent;
			text-align: center;
			font-size: 18px;
			border-radius: 5px;
			width: 150px;
			height: 55px;
			box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.15);
			outline: none;
			padding: none;
			border: 1px solid transparent;
			transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
		}

		.Confirm
		{
			display: block;
			color: #237976;
			font-family: Raleway;
			font-weight: bold;
			position: relative;
			margin-left: auto;
			margin-right: auto;
			margin-top: 10`%;
			font-size: 20.85px;
			border-color: #237976;
		}

		.Confirm:hover 
		{
			color: #FFFFFF;
			background-color: #237976;
			border-color: transparent;
		}

		.Confirm:active 
		{
			color: #FFFFFF;
			background-color: #237976;
			border-color: transparent;
		}
		
		h1 
		{
			font-family: Raleway;
			font-weight: 600;
			font-size: 27px;
			margin: 25px; 
			outline: none; 
			padding: none;
		}
		
		.sText
		{
			text-align: left;
		}
		
		body
		{
			text-align: center;
		}
		
		html
		{
			width: 500px;
			height: 300px;
		}
		&lt;/style&gt;
	&lt;/head&gt;
	&lt;body&gt;
		&lt;h1&gt;Египетский&lt;/h1&gt;
		&lt;div class=&quot;sText&quot;&gt;
		&lt;h1 id=&quot;st&quot;&gt;&lt;/h1&gt;
		&lt;/div&gt;
		&lt;button type=&quot;button&quot; id=&quot;ex&quot; class=&quot;btn Confirm&quot;&gt;OK&lt;/button&gt;
	&lt;/body&gt;
&lt;/html&gt;
)

Gui, Egypt: New, , Египетский
Gui, Egypt: Margin, 0, 0
Gui, Egypt: Add, ActiveX, w500 h300 vWBEgypt, about:&lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=edge&quot;&gt; 
WBEgypt.document.write(html)
WBEgypt.document.getElementById(&quot;ex&quot;).addEventListener(&quot;mouseup&quot;, Func(&quot;OnClose&quot;))
WBEgypt.document.getElementById(&quot;st&quot;).innerHTML := (&quot;Счетчик: &quot; . Counts &quot; &lt;br&gt; Время: &quot; . ElapsedTime3 . &quot; min, &quot; . ElapsedTime4 . &quot; sec&quot;)
Gui, Egypt: Show
return

EgyptGuiClose:
Gui, Destroy
return
}

OnErr() {

global WBErr

html =
(
&lt;!DOCTYPE html&gt;
&lt;html&gt;
	&lt;head&gt;
		&lt;style&gt;
		.btn {
			display: inline-block;
			color: transparent;
			background-color: transparent;
			text-align: center;
			font-size: 18px;
			border-radius: 5px;
			width: 150px;
			height: 55px;
			box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.15);
			outline: none;
			padding: none;
			top: 50px;
			border: 1px solid transparent;
			transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
		}

		.Confirm
		{
			display: block;
			color: #237976;
			font-family: Raleway;
			font-weight: bold;
			position: relative;
			margin-left: auto;
			margin-right: auto;
			margin-top: 10`%;
			font-size: 20.85px;
			border-color: #237976;
		}

		.Confirm:hover 
		{
			color: #FFFFFF;
			background-color: #237976;
			border-color: transparent;
		}

		.Confirm:active 
		{
			color: #FFFFFF;
			background-color: #237976;
			border-color: transparent;
		}
		
		h1 
		{
			font-family: Raleway;
			font-weight: 600;
			font-size: 27px;
			margin: 25px; 
			outline: none; 
			padding: none;
			text-align: center;
		}
		
		.sText
		{
			text-align: left;
		}
		
		body
		{
			text-align: center;
		}
		
		html
		{
			width: 300px;
			height: 300px;
		}
		&lt;/style&gt;
	&lt;/head&gt;
	&lt;body&gt;
		&lt;h1&gt;Ошибка&lt;/h1&gt;
		&lt;div class=&quot;sText&quot;&gt;
		&lt;h1 id=&quot;li&quot;&gt;&lt;/h1&gt;
		&lt;h1&gt;
		Ошибка&lt;/h1&gt;
		&lt;/div&gt;
		&lt;button type=&quot;button&quot; id=&quot;ex&quot; class=&quot;btn Confirm&quot;&gt;OK&lt;/button&gt;
	&lt;/body&gt;
&lt;/html&gt;
)

Gui, Err: New, , Ошибка
Gui, Err: Margin, 0, 0
Gui, Err: Add, ActiveX, w300 h300 vWBErr, about:&lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=edge&quot;&gt; 
WBErr.document.write(html)
WBErr.document.getElementById(&quot;ex&quot;).addEventListener(&quot;mouseup&quot;, Func(&quot;OnClose&quot;))
Gui, Err: Show
return

ErrGuiClose:
Gui, Destroy
return
}

OnBu1() {

global WBBu1

html =
(
&lt;!DOCTYPE html&gt;
&lt;html&gt;
	&lt;head&gt;
		&lt;style&gt;
		.btn {
			display: inline-block;
			color: transparent;
			background-color: transparent;
			text-align: center;
			font-size: 18px;
			border-radius: 5px;
			width: 150px;
			height: 55px;
			box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.15);
			outline: none;
			padding: none;
			border: 1px solid transparent;
			transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
		}

		.Confirm
		{
			display: block;
			color: #237976;
			font-family: Raleway;
			font-weight: bold;
			position: relative;
			margin-left: auto;
			margin-right: auto;
			margin-top: 10`%;
			font-size: 20.85px;
			border-color: #237976;
		}

		.Confirm:hover 
		{
			color: #FFFFFF;
			background-color: #237976;
			border-color: transparent;
		}

		.Confirm:active 
		{
			color: #FFFFFF;
			background-color: #237976;
			border-color: transparent;
		}
		
		h1 
		{
			font-family: Raleway;
			font-weight: 600;
			font-size: 27px;
			margin: 25px; 
			outline: none; 
			padding: none;
			text-align: center;
		}
		
		.sText
		{
			text-align: left;
		}
		
		body
		{
			text-align: center;
		}
		
		html
		{
			width: 300px;
			height: 300px;
		}
		&lt;/style&gt;
	&lt;/head&gt;
	&lt;body&gt;
		&lt;h1&gt;BUTTON&lt;/h1&gt;
		&lt;div class=&quot;sText&quot;&gt;
		&lt;h1 id=&quot;li&quot;&gt;BUTTONS&lt;/h1&gt;
		&lt;/div&gt;
		&lt;button type=&quot;button&quot; id=&quot;ex&quot; class=&quot;btn Confirm&quot;&gt;OK&lt;/button&gt;
	&lt;/body&gt;
&lt;/html&gt;
)

Gui, Bu1: New, , Button
Gui, Bu1: Margin, 0, 0
Gui, Bu1: Add, ActiveX, w300 h300 vWBBu1, about:&lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=edge&quot;&gt; 
WBBu1.document.write(html)
WBBu1.document.getElementById(&quot;ex&quot;).addEventListener(&quot;mouseup&quot;, Func(&quot;OnClose&quot;))
Gui, Bu1: Show
return

Bu1GuiClose:
Gui, Destroy
return
}

OnButton() {
   MsgBox, Hi
   return
}

OnReelect() {
	Msgbox, hi
	return
}

OnClose() {
	Gui Err: Destroy
	Gui Bu1: Destroy
	Gui Egypt: Destroy
	return
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (ilaseshatov931)]]></author>
			<pubDate>Sun, 07 Feb 2021 14:36:11 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=146026#p146026</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Перетаскивание GUI интерфейса]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=146025#p146025</link>
			<description><![CDATA[<p><strong>__Михаил__</strong><br />Не работает</p>]]></description>
			<author><![CDATA[null@example.com (ilaseshatov931)]]></author>
			<pubDate>Sun, 07 Feb 2021 14:33:18 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=146025#p146025</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Перетаскивание GUI интерфейса]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=146009#p146009</link>
			<description><![CDATA[<div class="quotebox"><cite>ilaseshatov931 пишет:</cite><blockquote><div class="codebox"><pre><code>WB.document.write(html)</code></pre></div></blockquote></div><p>А где html-то?</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Sun, 07 Feb 2021 09:01:50 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=146009#p146009</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Перетаскивание GUI интерфейса]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=146007#p146007</link>
			<description><![CDATA[<p>Переместить своё Gui окно можно так:</p><div class="codebox"><pre><code>OnMessage(0x201, &quot;WM_LBUTTONDOWN&quot;)	; Установить перехват зажима ЛКМ.

Gui, Parent: New, ,Example Custom Gui
Gui, Parent: -DPIScale 
Gui, Parent: Margin, 0, 0
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow
Gui, Parent: Add, ActiveX, w598 h435 vWB, about:&lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=edge&quot;&gt; 
WB.document.write(html)
WB.document.getElementById(&quot;myImage&quot;).src := StrReplace(A_ScriptDir . &quot;\sh.png&quot;, &quot;\&quot;, &quot;/&quot;)
WB.document.getElementById(&quot;bu2&quot;).addEventListener(&quot;mouseup&quot;, Func(&quot;OnBu1&quot;))
Gui, Parent: Show
Return

; Переместить окно:
WM_LBUTTONDOWN(wParam, lParam, msg, hwnd){
 PostMessage, 0xA1, 2,,, A
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (__Михаил__)]]></author>
			<pubDate>Sun, 07 Feb 2021 07:58:52 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=146007#p146007</guid>
		</item>
		<item>
			<title><![CDATA[AHK: Перетаскивание GUI интерфейса]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=146003#p146003</link>
			<description><![CDATA[<div class="codebox"><pre><code>Gui, Parent: New, ,Example Custom Gui
Gui, Parent: -DPIScale 
Gui, Parent: Margin, 0, 0
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow
Gui, Parent: Add, ActiveX, w598 h435 vWB, about:&lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=edge&quot;&gt; 
WB.document.write(html)
WB.document.getElementById(&quot;myImage&quot;).src := StrReplace(A_ScriptDir . &quot;\sh.png&quot;, &quot;\&quot;, &quot;/&quot;)
WB.document.getElementById(&quot;bu2&quot;).addEventListener(&quot;mouseup&quot;, Func(&quot;OnBu1&quot;))
Gui, Parent: Show
Return</code></pre></div><p>Как сделать этого GUI интерфейса перетаскивание</p>]]></description>
			<author><![CDATA[null@example.com (ilaseshatov931)]]></author>
			<pubDate>Sun, 07 Feb 2021 05:06:22 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=146003#p146003</guid>
		</item>
	</channel>
</rss>
