<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Всегда сверху конкретного окна]]></title>
	<link rel="self" href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=9163&amp;type=atom" />
	<updated>2014-01-20T17:13:13Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=9163</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Всегда сверху конкретного окна]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=79377#p79377" />
			<content type="html"><![CDATA[<p>AHK<br />В продолжение темы, тоже прошу помочь.<br />Есть две программы, Total commander и Executor, требуется, чтобы окно Executor&#039;a было всегда поверх окна Total Commander&#039;a, но не вылезало над другими окнами, и при сворачивании-разворачивании Total Commander&#039;a, сворачивалось-разворачивалось вместе с ним.<br />Спасибо!</p>]]></content>
			<author>
				<name><![CDATA[ice_daemon]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=31600</uri>
			</author>
			<updated>2014-01-20T17:13:13Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=79377#p79377</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Всегда сверху конкретного окна]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=79337#p79337" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br /></p><div class="quotebox"><blockquote><p>[v1.1.03+]: +Owner can be immediately followed by the name or number of an existing Gui or the HWND of any top-level window.</p></blockquote></div><p>Прикольно, я этого не видел.</p><p>О, и:<br /></p><div class="quotebox"><blockquote><p>Parent [v1.1.03+]: Use +Parent immediately followed by the name or number of an existing Gui or the HWND of any window or control to use it as the parent of this window. To convert the Gui back into a top-level window, use -Parent. This option works even after the window is created.</p></blockquote></div><div class="codebox"><pre><code>DllCall(&quot;SetParent&quot;</code></pre></div><p>можно заменить, на:<br /></p><div class="codebox"><pre><code> +Parent%hCalc%</code></pre></div>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2014-01-19T14:15:59Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=79337#p79337</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Всегда сверху конкретного окна]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=79336#p79336" />
			<content type="html"><![CDATA[<p>Строго тут&nbsp; вас. Исправил. Код подходит. Спасибо.</p>]]></content>
			<author>
				<name><![CDATA[Foma]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=31521</uri>
			</author>
			<updated>2014-01-19T14:05:53Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=79336#p79336</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Всегда сверху конкретного окна]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=79335#p79335" />
			<content type="html"><![CDATA[<p><span style="color: #008800"><strong>Foma</strong>, код оформляется тегом [cоde], отредактируйте свой пост.</span><br /></p><div class="codebox"><pre><code>Run, calc,,, PID
WinWait, ahk_pid %PID%
WinGet, hCalc
WinGetPos, X, Y

Gui Margin, 0,0 
Gui, -Caption +ToolWindow +Owner%hCalc%
Gui, Add, Progress, w111 h12 BackgroundEC4D48, 50
Gui, Add, text, x+12 y+10 w111 h12, %A_TickCount%
Gui Show , NA x%X% y%Y%</code></pre></div>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2014-01-19T13:52:50Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=79335#p79335</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Всегда сверху конкретного окна]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=79324#p79324" />
			<content type="html"><![CDATA[<p>Контролы почти всегда же есть под низом?</p><div class="codebox"><pre><code>Вот так тоже пропадает:
Win = ahk_class Notepad ahk_exe notepad.exe
WinWait %Win%

Gui Margin, 0,0  
Gui +Hwndhgui -Caption -DPIScale ; +E0x08000000 если не надо активировать при клике
Gui, Add, Progress, w111 h12 BackgroundEC4D48, 50 
Gui, Add, text, x+12 y+10 w111 h12, %A_TickCount% 
DllCall(&quot;SetParent&quot;, &quot;uint&quot;, hgui, &quot;uint&quot;, WinExist(Win))
Gui Show , NA x0 y0
return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Foma]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=31521</uri>
			</author>
			<updated>2014-01-19T00:28:48Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=79324#p79324</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Всегда сверху конкретного окна]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=79323#p79323" />
			<content type="html"><![CDATA[<p>Если под gui находится родной контрол то забирая фокус он будет вылезать поверх gui. Можно например предварительно сместить или скрыть этот контрол.</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2014-01-19T00:12:15Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=79323#p79323</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Всегда сверху конкретного окна]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=79321#p79321" />
			<content type="html"><![CDATA[<p>Очень не стабильно работает. То виден, то нет, то кусочками.&nbsp; Пробовал заменить текстом - результат тот же. Может этот код надо как-то по особому применять?</p>]]></content>
			<author>
				<name><![CDATA[Foma]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=31521</uri>
			</author>
			<updated>2014-01-18T23:53:49Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=79321#p79321</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Всегда сверху конкретного окна]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=79316#p79316" />
			<content type="html"><![CDATA[<div class="quotebox"><blockquote><p>Нет, блокировка не нужна</p></blockquote></div><p>Тогда OwnDialogs зачем?<br /></p><div class="quotebox"><blockquote><p>Версия устарела.</p></blockquote></div><p>Надо обновить AutoHotkey.</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2014-01-18T19:51:56Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=79316#p79316</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Всегда сверху конкретного окна]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=79315#p79315" />
			<content type="html"><![CDATA[<p>Версия устарела.</p>]]></content>
			<author>
				<name><![CDATA[Foma]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=31521</uri>
			</author>
			<updated>2014-01-18T19:39:37Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=79315#p79315</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Всегда сверху конкретного окна]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=79314#p79314" />
			<content type="html"><![CDATA[<p>Invalid option DPIScale</p>]]></content>
			<author>
				<name><![CDATA[Foma]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=31521</uri>
			</author>
			<updated>2014-01-18T19:35:05Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=79314#p79314</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Всегда сверху конкретного окна]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=79313#p79313" />
			<content type="html"><![CDATA[<p>Нет, блокировка не нужна. С кодом разбираюсь, спасибо.</p>]]></content>
			<author>
				<name><![CDATA[Foma]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=31521</uri>
			</author>
			<updated>2014-01-18T19:28:56Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=79313#p79313</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Всегда сверху конкретного окна]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=79312#p79312" />
			<content type="html"><![CDATA[<div class="quotebox"><blockquote><p>Как присвоить gui свойство +OwnDialogs относительно чужого окна?</p></blockquote></div><p>Или вам надо чтобы калькулятор был заблокирован?</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2014-01-18T18:15:29Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=79312#p79312</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Всегда сверху конкретного окна]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=79311#p79311" />
			<content type="html"><![CDATA[<p>Как вариант:<br /></p><div class="codebox"><pre><code>
Win = ahk_class CalcFrame ahk_exe calc.exe
WinWait %Win%

Gui Margin, 0,0  
Gui +Hwndhgui -Caption -DPIScale ; +E0x08000000 если не надо активировать при клике
Gui, Add, Progress, w111 h12 BackgroundEC4D48, 50 
Gui, Add, Progress, x+12 w111 h12 BackgroundEC4D48 Vertical, 50 
DllCall(&quot;SetParent&quot;, &quot;uint&quot;, hgui, &quot;uint&quot;, WinExist(Win))
Gui Show, NA x0 y0
return 
</code></pre></div><p>если выводить надо не над заголовком или меню.</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2014-01-18T18:09:57Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=79311#p79311</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Всегда сверху конкретного окна]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=79309#p79309" />
			<content type="html"><![CDATA[<p>Как присвоить gui свойство +OwnDialogs относительно чужого окна?</p>]]></content>
			<author>
				<name><![CDATA[Foma]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=31521</uri>
			</author>
			<updated>2014-01-18T17:17:33Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=79309#p79309</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Всегда сверху конкретного окна]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=79307#p79307" />
			<content type="html"><![CDATA[<p>Пытаюсь выводить окно gui поверх окна калькулятора так, чтобы оно всегда было над ним, но не вылезало над другими окнами, если они накладываются на него.<br /> Изменение AlwaysOnTop по таймеру при активации и деактивции проводника работет неверно.<br /> В форуме встретил всяке примочки типа&nbsp; +E0x80020 +hwndID &quot;+Owner hParent, но как пользоваться ими не понял.<br /> Как вообще должна решаться такая задача?</p>]]></content>
			<author>
				<name><![CDATA[Foma]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=31521</uri>
			</author>
			<updated>2014-01-18T16:11:19Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=79307#p79307</id>
		</entry>
</feed>
