<?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=12572&amp;type=atom" />
	<updated>2018-07-20T02:59:26Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=12572</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Прозрачное GUI окно]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=127175#p127175" />
			<content type="html"><![CDATA[<p><a href="http://forum.script-coding.com/viewtopic.php?pid=125919#p125919">http://forum.script-coding.com/viewtopi … 19#p125919</a></p>]]></content>
			<author>
				<name><![CDATA[stealzy]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=31937</uri>
			</author>
			<updated>2018-07-20T02:59:26Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=127175#p127175</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Прозрачное GUI окно]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=127167#p127167" />
			<content type="html"><![CDATA[<p>Из поста #7 понравились часы. Хочу сделать то же самое с картинкой. Крутил, крутил да так и не докрутил, как же сделать чтобы окно пропускало через себя клики мыши?</p>]]></content>
			<author>
				<name><![CDATA[qqlexa]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39096</uri>
			</author>
			<updated>2018-07-19T20:48:58Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=127167#p127167</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Прозрачное GUI окно]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=115031#p115031" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>Gui,1: Font, q3 Bold</code></pre></div><div class="quotebox"><cite>KusochekDobra пишет:</cite><blockquote><p>И можно ли отдельно от содержимого окна, регулировать степень прозрачности фона?</p></blockquote></div><p>Можно, но только через GDI+.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2017-04-12T17:10:06Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=115031#p115031</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Прозрачное GUI окно]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=115030#p115030" />
			<content type="html"><![CDATA[<p>Здоровья всем!<br />Подскажите пожалуйста, можно ли убрать окантовку текста, цветом фона, который остаётся после установки последнего прозрачным:<br /></p><div class="codebox"><pre><code>
INIsection:=[&quot;main&quot;,&quot;clone&quot;,&quot;svz&quot;]
; &gt;&gt;--++--&lt;&lt;  &gt;&gt;--++--&lt;&lt; 
tColor:=0x0033F4
wTextF:=60,wTextS:=80,wGroup:=wTextF+wTextS+15
Gui,1: Margin,10,10
Gui,1: +ToolWindow -Caption +Lastfound
Gui,1: Color,%tColor%
WinSet, TransColor,%tColor%
Gui,1: Font,Bold
Loop, 3 {
	Gui,1: Add,GroupBox,xm y+10 w%wGroup% h75,% INIsection[A_Index]
	Gui,1: Add,Text,xm+5 yp+15 w%wTextF% cRed,Строка1
	Gui,1: Add,Text,x+5 w%wTextS% Border,
	Gui,1: Add,Text,xm+5 y+5 w%wTextF% cRed,Строка2
	Gui,1: Add,Text,x+5 w%wTextS% Border,
	Gui,1: Add,Text,xm+5 y+5 w%wTextF% cRed,Строка3
	Gui,1: Add,Text,x+5 w%wTextS% Border,
}
Gui,1: Show,,IniReader
return
Esc::
	ExitApp
</code></pre></div><p>И можно ли отдельно от содержимого окна, регулировать степень прозрачности фона?</p>]]></content>
			<author>
				<name><![CDATA[KusochekDobra]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33846</uri>
			</author>
			<updated>2017-04-12T16:51:01Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=115030#p115030</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Прозрачное GUI окно]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=114391#p114391" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />Понятно - спасибо.</p><p>P.S. Меня смутило описание функции в справке - <strong>WinSet, TransColor, Color [N], WinTitle</strong></p>]]></content>
			<author>
				<name><![CDATA[Indomito]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27285</uri>
			</author>
			<updated>2017-03-30T02:31:50Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=114391#p114391</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Прозрачное GUI окно]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=114375#p114375" />
			<content type="html"><![CDATA[<p>Здесь может быть любое значение, которое AHK поймёт, как значение цвета, т. е. любые цифры и буквы от A до F.<br /></p><div class="codebox"><pre><code>Gui, +AlwaysOnTop +ToolWindow -Caption +LastFound
WinSet, TransColor, ABC
Gui, Color, ABC
Gui, Font, s48 q3
Gui, Add, Text, cDAA520, Hello, Autohotkey!
Gui, Show</code></pre></div><p>Кроме того, нужно позаботиться о том, чтобы цвета с таким же значением не оказалось в части окна, которая должна быть непрозрачной.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2017-03-29T14:20:52Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=114375#p114375</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Прозрачное GUI окно]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=114374#p114374" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />Справка говорит о прозрачности. </p><div class="quotebox"><blockquote><p><strong>WinSet, TransColor, Color [N], WinTitle</strong><br />Делает все пикселы выбранного цвета внутри окна прозрачными, позволяя видеть сквозь окно то, что находится под ним (не действует в Windows 9x и NT4). Щелчки мыши на невидимых пикселах проходят сквозь окно к окну, лежащему ниже. Задайте в Color название цвета или его обозначение в формате RGB (смотрите статью о SplashImage или используйте PixelGetColor в режиме RGB). Чтобы вдобавок сделать видимую часть окна частично прозрачной, добавьте пробел (не запятую) и укажите уровень прозрачности (0-255). Например: WinSet, TransColor, EEAA99 150, WinTitle </p><p>TransColor часто используется для создания надписей на экране и других визуальных эффектов. Смотрите пример создания экранной надписи в конце статьи, описывающей команду Gui.</p></blockquote></div><p>Но почему <strong>12345</strong>?</p>]]></content>
			<author>
				<name><![CDATA[Indomito]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27285</uri>
			</author>
			<updated>2017-03-29T14:13:37Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=114374#p114374</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Прозрачное GUI окно]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=114370#p114370" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Indomito пишет:</cite><blockquote><p>Что такое 12345?</p></blockquote></div><p>А что справка говорит, что должно быть на этом месте?</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2017-03-29T11:35:00Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=114370#p114370</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Прозрачное GUI окно]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=114361#p114361" />
			<content type="html"><![CDATA[<p>Спасибо всем, вы мне очень помогли.</p><div class="codebox"><pre><code>Gui, +AlwaysOnTop +ToolWindow -Caption +LastFound
WinSet, TransColor, 12345
Gui, Color, 12345
Gui, Add, Picture, , C:\Logo.png
Gui, Add, Picture
Gui, Show
Return</code></pre></div><p><strong>teadrinker</strong> <br />Я не понял две строчки кода. </p><div class="codebox"><pre><code>WinSet, TransColor, 12345
Gui, Color, 12345</code></pre></div><p> Что такое <strong>12345</strong>? <br />Поставил <strong>0</strong> - результат тот же.</p><p>P.S. Я часто путаюсь c GUI&nbsp; в AHK</p>]]></content>
			<author>
				<name><![CDATA[Indomito]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27285</uri>
			</author>
			<updated>2017-03-29T07:26:40Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=114361#p114361</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Прозрачное GUI окно]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=114328#p114328" />
			<content type="html"><![CDATA[<p>Нисколечко не против, люди добрые. <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /><br />Когда я это мастерил, то только постигал азы. Если сценарий запустить, то он будет работать так, как мне этого хотелось в тот момент, а в тот момент, для меня всё было танцами с бубном. С того времени не было новой нужды, поэтому заготовку оставил здесь в исходном виде, не сомневаясь в работоспособности примера. За коррективы спасибо! На ус &quot;намотал&quot;. <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /></p><p>И моё &quot;суеверие&quot;, в приведённом мной же примере - было оправданно.</p>]]></content>
			<author>
				<name><![CDATA[KusochekDobra]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33846</uri>
			</author>
			<updated>2017-03-27T22:26:26Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=114328#p114328</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Прозрачное GUI окно]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=114327#p114327" />
			<content type="html"><![CDATA[<p><strong>KusochekDobra</strong>, +Lastfound в вашем коде нигде не используется:<br /><a href="https://autohotkey.com/docs/misc/WinTitle.htm#LastFoundWindow">https://autohotkey.com/docs/misc/WinTit … oundWindow</a></p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2017-03-27T21:16:38Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=114327#p114327</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Прозрачное GUI окно]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=114326#p114326" />
			<content type="html"><![CDATA[<p>Всё проще немного:<br /></p><div class="codebox"><pre><code>Gui, +AlwaysOnTop +ToolWindow -Caption +LastFound
WinSet, TransColor, 12345
Gui, Color, 12345
Gui, Font, s48 q3
Gui, Add, Text, cDAA520, Hello, Autohotkey!
Gui, Show</code></pre></div><div class="quotebox"><cite>KusochekDobra пишет:</cite><blockquote><p>Ко всему, без &quot;DetectHiddenWindows, On&quot;, фон не будет приобретать прозрачность.</p></blockquote></div><p>Это суеверие.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2017-03-27T21:10:40Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=114326#p114326</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Прозрачное GUI окно]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=114325#p114325" />
			<content type="html"><![CDATA[<p>Делал себе для игрулек, в которых не отображается время, из-за чего, частенько выходишь за лимит времени. <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /><br />Если не изменяет память, там вся соль в том, чтобы задавать цвет бэкграунда самым первым и перед тем как его сделать прозрачным установить свойство &quot;+Lastfound&quot;. Ко всему, без &quot;DetectHiddenWindows, On&quot;, фон не будет приобретать прозрачность. Кнопку прикрутил для наглядности.</p>]]></content>
			<author>
				<name><![CDATA[KusochekDobra]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33846</uri>
			</author>
			<updated>2017-03-27T20:28:06Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=114325#p114325</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Прозрачное GUI окно]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=114324#p114324" />
			<content type="html"><![CDATA[<p><strong>KusochekDobra</strong><br /> Спасибо, попробую разобраться с твоим кодом.</p>]]></content>
			<author>
				<name><![CDATA[Indomito]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27285</uri>
			</author>
			<updated>2017-03-27T20:14:57Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=114324#p114324</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Прозрачное GUI окно]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=114323#p114323" />
			<content type="html"><![CDATA[<p>Часы вверху, посередине, где текст на прозрачном фоне:<br /></p><div class="codebox"><pre><code>
#SingleInstance, Force
#NoEnv
DetectHiddenWindows, On

Gui, 1: Color, 0000D1
Gui, 1: +AlwaysOnTop +ToolWindow -Caption +Hwndh_time
Gui, 1: Font, s7 Bold cFFFF00
Gui, 1: Add, Text, w55 Center
Gui, 1: Add, Button, x5 y+5 gClose,Закрыть
Gui, 1: +Lastfound
WinSet, TransColor, 0000D1, ahk_id%h_time%
Gui, 1: Show, x920 y0
SetTimer,Timer,1000
return
Timer:
	ControlSetText, Static1, % A_Hour &quot;:&quot; A_Min &quot;:&quot; A_Sec, ahk_id%h_time%
return
Close:
	ExitApp
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[KusochekDobra]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33846</uri>
			</author>
			<updated>2017-03-27T20:04:37Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=114323#p114323</id>
		</entry>
</feed>
