<?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=15694</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=15694&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Встраивание вырезанной области - в GUI».]]></description>
		<lastBuildDate>Thu, 01 Oct 2020 22:06:19 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: Встраивание вырезанной области - в GUI]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=142413#p142413</link>
			<description><![CDATA[<p><strong>serzh82saratov</strong></p><p>Очень интересный вариант создать свою &#039;песочницу&#039;. Можно добавить свои кнопки к Gui и будет свой настраиваемый блокнот.</p>]]></description>
			<author><![CDATA[null@example.com (__Михаил__)]]></author>
			<pubDate>Thu, 01 Oct 2020 22:06:19 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=142413#p142413</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Встраивание вырезанной области - в GUI]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=142398#p142398</link>
			<description><![CDATA[<p>serzh82saratov, теперь ясно.<br />Спасибо.</p>]]></description>
			<author><![CDATA[null@example.com (plank1433)]]></author>
			<pubDate>Thu, 01 Oct 2020 12:29:45 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=142398#p142398</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Встраивание вырезанной области - в GUI]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=142394#p142394</link>
			<description><![CDATA[<p>А новые координаты за вас Пушкин должен дописать?</p><div class="codebox"><pre><code>WinExist(&quot;ahk_class TTOTAL_CMD&quot;) 
WinSet, Style, -0x00C00000			; WS_CAPTION
WinSet, Style, -0x00040000			; WS_SIZEBOX
WinSet, Region, 860-121 W340 H600
Gui, +HWNDhGui
Gui, Color, 123456
Gui, Show, w340 h600  
DllCall(&quot;SetParent&quot;, &quot;Ptr&quot;, WinExist(), &quot;Ptr&quot;, hGui)
WinMove -860, -121
Return</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (serzh82saratov)]]></author>
			<pubDate>Thu, 01 Oct 2020 11:48:30 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=142394#p142394</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Встраивание вырезанной области - в GUI]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=142392#p142392</link>
			<description><![CDATA[<p>Спасибо.<br />Объясните пожалуйста, а как использовать этот код?<br />Я применяю этот скрипт к открытому на весь экран тотал-коммандеру:<br /></p><div class="codebox"><pre><code>WinExist(&quot;ahk_class TTOTAL_CMD&quot;) 
WinSet, Style, -0x00C00000			; WS_CAPTION
WinSet, Style, -0x00040000			; WS_SIZEBOX
WinSet, Style, +0x80000000			; WS_POPUP
WinSet, Region, 860-121 W340 H600
Gui, +HWNDhGui
Gui, Color, 123456
Gui, Show, w250 h200  
DllCall(&quot;SetParent&quot;, &quot;Ptr&quot;, WinExist(), &quot;Ptr&quot;, hGui)
WinMove -35, -28
Return
</code></pre></div><p>Не работает.</p><p>Применяю его для VLC:<br /></p><div class="codebox"><pre><code>WinExist(&quot;ahk_class Qt5QWindowIcon&quot;) 
WinSet, Style, -0x00C00000			; WS_CAPTION
WinSet, Style, -0x00040000			; WS_SIZEBOX
WinSet, Style, +0x80000000			; WS_POPUP
WinSet, Region, 860-121 W340 H600
Gui, +HWNDhGui
Gui, Color, 123456
Gui, Show, w250 h200  
DllCall(&quot;SetParent&quot;, &quot;Ptr&quot;, WinExist(), &quot;Ptr&quot;, hGui)
WinMove -35, -28
Return
</code></pre></div><p>Не работает.</p><p>Применяю его на 3DMeNow:<br /></p><div class="codebox"><pre><code>WinExist(&quot;ahk_class TMainForm&quot;) 
WinSet, Style, -0x00C00000			; WS_CAPTION
WinSet, Style, -0x00040000			; WS_SIZEBOX
WinSet, Style, +0x80000000			; WS_POPUP
WinSet, Region, 860-121 W340 H600
Gui, +HWNDhGui
Gui, Color, 123456
Gui, Show, w250 h200  
DllCall(&quot;SetParent&quot;, &quot;Ptr&quot;, WinExist(), &quot;Ptr&quot;, hGui)
WinMove -35, -28
Return
</code></pre></div><p>Тоже не работает.<br />То есть - создает такое небольшое окно с синим фоном внутри. <br />Ошибку не показывает - просто не отображает вырезанную область.</p><p>Как этот скрипт - применить не только для блокнота, но и для этих программ тоже ?</p>]]></description>
			<author><![CDATA[null@example.com (plank1433)]]></author>
			<pubDate>Thu, 01 Oct 2020 08:20:25 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=142392#p142392</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Встраивание вырезанной области - в GUI]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=142376#p142376</link>
			<description><![CDATA[<div class="codebox"><pre><code>
WinExist(&quot;ahk_class Notepad&quot;) 
WinSet, Style, -0x00C00000			; WS_CAPTION
WinSet, Style, -0x00040000			; WS_SIZEBOX
WinSet, Region, 35-28 W250 H200
Gui, +HWNDhGui
Gui, Color, 123456
Gui, Show, w250 h200  
DllCall(&quot;SetParent&quot;, &quot;Ptr&quot;, WinExist(), &quot;Ptr&quot;, hGui)
WinMove -35, -28
Return
</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (serzh82saratov)]]></author>
			<pubDate>Wed, 30 Sep 2020 23:53:20 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=142376#p142376</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Встраивание вырезанной области - в GUI]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=142368#p142368</link>
			<description><![CDATA[<p>dmitry-semin, да я хочу чтобы эту вырезанную область можно было мышкой за title - перемещать.</p>]]></description>
			<author><![CDATA[null@example.com (plank1433)]]></author>
			<pubDate>Wed, 30 Sep 2020 13:58:39 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=142368#p142368</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Встраивание вырезанной области - в GUI]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=142356#p142356</link>
			<description><![CDATA[<p><strong>plank1433</strong><br />Цикл, который следит за сменой координат основного окна и пропорционально смещению основного окна смещает ваш интерфейс? Вы это хотите?</p>]]></description>
			<author><![CDATA[null@example.com (dmitry-semin)]]></author>
			<pubDate>Wed, 30 Sep 2020 02:34:04 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=142356#p142356</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Встраивание вырезанной области - в GUI]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=142355#p142355</link>
			<description><![CDATA[<p>Так в GUI-то это окно как встроить ?</p><p>Это же два разных окна - окно GUI и&nbsp; вырезанное окно.</p>]]></description>
			<author><![CDATA[null@example.com (plank1433)]]></author>
			<pubDate>Wed, 30 Sep 2020 01:27:39 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=142355#p142355</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Встраивание вырезанной области - в GUI]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=142354#p142354</link>
			<description><![CDATA[<ol class="decimal"><li><p><em>WinGetPos</em></p></li><li><p>Сами считаете</p></li><li><p>Уже выше написал</p></li></ol>]]></description>
			<author><![CDATA[null@example.com (ypppu)]]></author>
			<pubDate>Tue, 29 Sep 2020 14:27:22 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=142354#p142354</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Встраивание вырезанной области - в GUI]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=142353#p142353</link>
			<description><![CDATA[<p>А как реализовать в скрипте - эти три команды?</p><p>Приведите пример, если несложно.<br />А я потом его сам доработаю.</p>]]></description>
			<author><![CDATA[null@example.com (plank1433)]]></author>
			<pubDate>Tue, 29 Sep 2020 04:16:28 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=142353#p142353</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Встраивание вырезанной области - в GUI]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=142347#p142347</link>
			<description><![CDATA[<ol class="decimal"><li><p>Узнаёте координаты своего GUI;</p></li><li><p>Из них вычисляете, какие координаты должны быть у вырезанной области;</p></li><li><p>Изменяете координаты вырезанной области командой <em>WinMove</em>.</p></li></ol>]]></description>
			<author><![CDATA[null@example.com (ypppu)]]></author>
			<pubDate>Mon, 28 Sep 2020 14:03:54 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=142347#p142347</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Встраивание вырезанной области - в GUI]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=142341#p142341</link>
			<description><![CDATA[<p>ypppu, а как это скриптом сделать.</p>]]></description>
			<author><![CDATA[null@example.com (plank1433)]]></author>
			<pubDate>Mon, 28 Sep 2020 00:08:18 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=142341#p142341</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Встраивание вырезанной области - в GUI]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=142340#p142340</link>
			<description><![CDATA[<p>Подскажите - как скриптом - встроить эту вырезанную область - в gui, чтобы можно было ее перетаскивать по рабочему столу ?</p>]]></description>
			<author><![CDATA[null@example.com (plank1433)]]></author>
			<pubDate>Mon, 28 Sep 2020 00:00:52 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=142340#p142340</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Встраивание вырезанной области - в GUI]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=142335#p142335</link>
			<description><![CDATA[<p><strong>plank1433</strong>, можно периодически проверять координаты окна GUI скрипта. А если они изменились, подтягивать туда же вырезанную область.</p>]]></description>
			<author><![CDATA[null@example.com (ypppu)]]></author>
			<pubDate>Sun, 27 Sep 2020 18:37:22 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=142335#p142335</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Встраивание вырезанной области - в GUI]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=142333#p142333</link>
			<description><![CDATA[<p>Не знаю, как у вас, а у меня этот код на Windows 10 не делает ничего, а на Windows 7 вырезает регион, но оставляет заголовок и рамку окна видимыми.</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Sun, 27 Sep 2020 17:17:22 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=142333#p142333</guid>
		</item>
	</channel>
</rss>
