<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Как очистить GUI]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=8475&amp;type=atom" />
	<updated>2013-07-14T09:18:19Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=8475</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как очистить GUI]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=73760#p73760" />
			<content type="html"><![CDATA[<p><strong>YMP</strong>, спасиб ))</p>]]></content>
			<author>
				<name><![CDATA[Hydrogenium]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30160</uri>
			</author>
			<updated>2013-07-14T09:18:19Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=73760#p73760</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как очистить GUI]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=73758#p73758" />
			<content type="html"><![CDATA[<p>Чтобы обновлялось:<br /></p><div class="codebox"><pre><code>
#NoEnv               
#Persistent          

Gui, -SysMenu
    
Gui, Add, Text,, Active Table
Gui, Add, Text, vthis_id w200
Gui, Add, Text, vthis_title w200
    
Gui, Show, NoActivate, My Window    

SetTimer, InfoWin, 1000

InfoWin:
    WinGet, this_id, ID, A   
    WinGetTitle, this_title, ahk_id %this_id%
    GuiControl,, this_id, this_id = %this_id%
    GuiControl,, this_title, this_title = %this_title%
Return
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[YMP]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=81</uri>
			</author>
			<updated>2013-07-14T02:37:18Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=73758#p73758</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Как очистить GUI]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=73753#p73753" />
			<content type="html"><![CDATA[<div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><div class="codebox"><pre><code>

#NoEnv               
#Persistent          

SetTimer, InfoWin, 1000

InfoWin:
    WinGet, this_id, ID, A   
    WinGetTitle, this_title, ahk_id %this_id%
    
    ;~ Gui, Destroy     
    Gui, -SysMenu
    
    Gui, Add, Text,, Active Table
    Gui, Add, Text,, this_id = %this_id%
    Gui, Add, Text,, this_title = %this_title%
    
    Gui, Show, NoActivate, My Window    
Return

</code></pre></div></div></div><p>Вот код, создаётся окно и показывается инфа о активном окне, но <span class="bbu">this_id</span> и <span class="bbu">this_title</span>&nbsp; не обновляются</p><p>Если делать </p><div class="codebox"><pre><code>Gui, Destroy</code></pre></div><p> то окно моргает и.т.п.</p>]]></content>
			<author>
				<name><![CDATA[Hydrogenium]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30160</uri>
			</author>
			<updated>2013-07-13T18:39:42Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=73753#p73753</id>
		</entry>
</feed>
