<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: Получить хэндл последнего созданного контрола окна]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=12967</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=12967&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Получить хэндл последнего созданного контрола окна».]]></description>
		<lastBuildDate>Sat, 02 Sep 2017 19:28:18 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: Получить хэндл последнего созданного контрола окна]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=119110#p119110</link>
			<description><![CDATA[<p>Спасибо, значит я был на половине пути. <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /></p><p>Смотрел на GW_HWNDLAST, оказалось что надо &quot;скормить&quot; ему любой дочерний окна.</p>]]></description>
			<author><![CDATA[null@example.com (serzh82saratov)]]></author>
			<pubDate>Sat, 02 Sep 2017 19:28:18 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=119110#p119110</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Получить хэндл последнего созданного контрола окна]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=119098#p119098</link>
			<description><![CDATA[<p>Наверное только так:<br /></p><div class="codebox"><pre><code>SetFormat, IntegerFast, h
Gui, +HWNDhGui
Gui, Add, Text, HwndhFirstHwnd, 1
Gui, Add, Text, , 2
Gui, Add, Text, HwndhLastHwnd, 3 

hFirstHwnd := DllCall(&quot;GetWindow&quot;, &quot;Ptr&quot;, hGui, &quot;Uint&quot;, GW_CHILD := 5)+0
MsgBox % DllCall(&quot;GetWindow&quot;, &quot;Ptr&quot;, hFirstHwnd, &quot;Uint&quot;, GW_HWNDLAST := 1)+0 &quot;`n&quot; hLastHwnd</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Malcev)]]></author>
			<pubDate>Sat, 02 Sep 2017 02:56:57 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=119098#p119098</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Получить хэндл последнего созданного контрола окна]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=119093#p119093</link>
			<description><![CDATA[<p>Для первого контрола такое есть.<br /></p><div class="codebox"><pre><code>
SetFormat, IntegerFast, h
Gui, +HWNDhGui
Gui, Add, Text, HwndhFirstHwnd, 1
Gui, Add, Text, , 2
Gui, Add, Text, HwndhLastHwnd, 3 

MsgBox % DllCall(&quot;GetWindow&quot;, &quot;Ptr&quot;, hGui, &quot;Uint&quot;, GW_CHILD := 5)+0 &quot;`n&quot; hFirstHwnd
</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (serzh82saratov)]]></author>
			<pubDate>Fri, 01 Sep 2017 19:52:40 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=119093#p119093</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Получить хэндл последнего созданного контрола окна]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=119079#p119079</link>
			<description><![CDATA[<p>Так хочется.</p>]]></description>
			<author><![CDATA[null@example.com (serzh82saratov)]]></author>
			<pubDate>Fri, 01 Sep 2017 18:19:35 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=119079#p119079</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Получить хэндл последнего созданного контрола окна]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=119076#p119076</link>
			<description><![CDATA[<p>В смысле? Окно своё, GUI то есть, или сторонней программы? Если своё GUI, то что ещё нужно для счастья?</p>]]></description>
			<author><![CDATA[null@example.com (ypppu)]]></author>
			<pubDate>Fri, 01 Sep 2017 18:17:09 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=119076#p119076</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Получить хэндл последнего созданного контрола окна]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=119075#p119075</link>
			<description><![CDATA[<p>Это и в примере есть, надо то без переменных контрола.</p>]]></description>
			<author><![CDATA[null@example.com (serzh82saratov)]]></author>
			<pubDate>Fri, 01 Sep 2017 18:15:05 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=119075#p119075</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Получить хэндл последнего созданного контрола окна]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=119073#p119073</link>
			<description><![CDATA[<div class="codebox"><pre><code>GUI, Add, Button, w100 h100 +HWNDhButton
GUI, Show
MsgBox, % hButton</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (ypppu)]]></author>
			<pubDate>Fri, 01 Sep 2017 18:13:45 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=119073#p119073</guid>
		</item>
		<item>
			<title><![CDATA[AHK: Получить хэндл последнего созданного контрола окна]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=119066#p119066</link>
			<description><![CDATA[<p>Как отдельно (сразу) получить хэндл последнего созданного контрола окна, не получая весь список, и не перебирая все контролы.<br /></p><div class="codebox"><pre><code>
Gui, +HWNDhGui
Gui, Add, Text, , 1
Gui, Add, Text, , 2
Gui, Add, Text, HwndhLastHwnd, 3 

DetectHiddenWindows, On 
WinGet, List, ControlListHwnd, AHK_id %hGui%

MsgBox % RegExReplace(List, &quot;.*\R(.*?)$&quot;, &quot;$1&quot;) &quot;`n&quot; hLastHwnd
</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (serzh82saratov)]]></author>
			<pubDate>Fri, 01 Sep 2017 17:36:46 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=119066#p119066</guid>
		</item>
	</channel>
</rss>
