<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Эффекты окон - Blur, Glass, TransParent, TransColor.]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=14678&amp;type=atom" />
	<updated>2019-07-18T23:23:35Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=14678</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Эффекты окон - Blur, Glass, TransParent, TransColor.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=134938#p134938" />
			<content type="html"><![CDATA[<p>Как я понимаю добиться полупрозрачности можно только через UpdateLayeredWindow, которая в свою очередь не может быть&nbsp; применена к гуи созданному стандартным способом, так как нужен CreateCompatibleDC.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2019-07-18T23:23:35Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=134938#p134938</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Эффекты окон - Blur, Glass, TransParent, TransColor.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=134931#p134931" />
			<content type="html"><![CDATA[<p>Я подвожу тебя к мысли, что с обычными окнами вообще не получится. <img src="//forum.script-coding.com/img/smilies/lol.png" width="15" height="15" /></p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2019-07-18T20:44:29Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=134931#p134931</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Эффекты окон - Blur, Glass, TransParent, TransColor.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=134930#p134930" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>teadrinker пишет:</cite><blockquote><p>А почему ты решил, что я про прозрачность конкретного цвета?</p></blockquote></div><p>Я ничего не понимаю. Ладно, как сделать блюр без Transcolor?</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2019-07-18T20:42:41Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=134930#p134930</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Эффекты окон - Blur, Glass, TransParent, TransColor.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=134926#p134926" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Malcev пишет:</cite><blockquote><p>Это невозможно, если окно не многослойное.</p></blockquote></div><p>Я подозреваю, что так и есть, но где это написано?<br /></p><div class="quotebox"><cite>serzh82saratov пишет:</cite><blockquote><p>Вот всё окно, как тут блюр применить?</p></blockquote></div><p>Во-первых, это не прозрачность фона, а всего окна вместе с контролами. Во-вторых, через Transparent не работает, писал выше.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2019-07-18T20:29:58Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=134926#p134926</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Эффекты окон - Blur, Glass, TransParent, TransColor.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=134923#p134923" />
			<content type="html"><![CDATA[<p>Вот всё окно, как тут блюр применить?<br /></p><div class="codebox"><pre><code>
EnableBlur(gHwnd)
{
    ; WindowCompositionAttribute
    WCA_ACCENT_POLICY := 19
    ; AccentState
    ACCENT_DISABLED := 0
    ACCENT_ENABLE_GRADIENT := 1
    ACCENT_ENABLE_TRANSPARENTGRADIENT := 2
    ACCENT_ENABLE_BLURBEHIND := 3
    ACCENT_INVALID_STATE := 4
	
    accentStructSize := VarSetCapacity(AccentPolicy, 4*4, 0)
    NumPut(ACCENT_ENABLE_BLURBEHIND, AccentPolicy, 0, &quot;UInt&quot;)

    padding := A_PtrSize == 8 ? 4 : 0
    VarSetCapacity(WindowCompositionAttributeData, 4 + padding + A_PtrSize + 4 + padding)
    NumPut(WCA_ACCENT_POLICY, WindowCompositionAttributeData, 0, &quot;UInt&quot;)
    NumPut(&amp;AccentPolicy, WindowCompositionAttributeData, 4 + padding, &quot;Ptr&quot;)
    NumPut(accentStructSize, WindowCompositionAttributeData, 4 + padding + A_PtrSize, &quot;UInt&quot;)
    
      ;	DwmSetWindowAttribute https://docs.microsoft.com/ru-ru/windows/desktop/api/dwmapi/nf-dwmapi-dwmsetwindowattribute
    DllCall(&quot;SetWindowCompositionAttribute&quot;, &quot;Ptr&quot;, gHwnd, &quot;Ptr&quot;, &amp;WindowCompositionAttributeData)
}


Gui +LastFound -Caption +Border +hwndgHwnd +AlwaysOnTop 
WinSet, TransParent, 254
Gui, Font, s33, Segoe UI
Gui, Add, Text,     Center cWhite, Hello Blur!
Gui, Add, Text,  Center cRed , Hello Blur!

Gui, Add, Button, -BackgroundTrans, Button 
Gui, Add, Text, wp Center -Background, Text
Gui, Add, Edit, wp Center -BackgroundTrans, Edit
Gui, Show,   Center
EnableBlur(gHwnd)


GuiEscape:
GuiClose:
Escape:: ExitApp
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2019-07-18T20:24:16Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=134923#p134923</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Эффекты окон - Blur, Glass, TransParent, TransColor.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=134922#p134922" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>teadrinker пишет:</cite><blockquote><p> Нам нужно получить частичную прозрачность любым способом, но не всего окна, а именно только фона вне контролов</p></blockquote></div><p>Это невозможно, если окно не многослойное.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2019-07-18T20:23:39Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=134922#p134922</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Эффекты окон - Blur, Glass, TransParent, TransColor.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=134921#p134921" />
			<content type="html"><![CDATA[<p>А почему ты решил, что я про прозрачность конкретного цвета? Нам нужно получить частичную прозрачность любым способом, но не всего окна, а именно только фона вне контролов.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2019-07-18T20:20:11Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=134921#p134921</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Эффекты окон - Blur, Glass, TransParent, TransColor.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=134920#p134920" />
			<content type="html"><![CDATA[<p>Я подумал что ты про прозрачность всего окна, а не про прозрачность конкретного цвета.</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2019-07-18T20:14:29Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=134920#p134920</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Эффекты окон - Blur, Glass, TransParent, TransColor.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=134919#p134919" />
			<content type="html"><![CDATA[<p>Блюр можно применить там, где есть прозрачность, полная или частичная. Transcolor даёт полную прозрачность, соответственно клики проходят насквозь. Если была бы частичная — окно принимало бы события мыши.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2019-07-18T20:09:02Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=134919#p134919</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Эффекты окон - Blur, Glass, TransParent, TransColor.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=134917#p134917" />
			<content type="html"><![CDATA[<p>Представим что сделали фон обычного окна вне контролов частично прозрачным, а блюр где будет? Ты имеешь ввиду наложить окна.</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2019-07-18T20:03:14Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=134917#p134917</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Эффекты окон - Blur, Glass, TransParent, TransColor.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=134915#p134915" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>serzh82saratov пишет:</cite><blockquote><p>А что это даст в плане блюра?</p></blockquote></div><p>Не будут клики насквозь проходить.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2019-07-18T19:46:49Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=134915#p134915</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Эффекты окон - Blur, Glass, TransParent, TransColor.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=134914#p134914" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>teadrinker пишет:</cite><blockquote><p>можно ли как-то сделать фон обычного окна вне контролов частично прозрачным</p></blockquote></div><p>А что это даст в плане блюра?<br /></p><div class="quotebox"><cite>Malcev пишет:</cite><blockquote><p>А ты по инструкции запускал?</p></blockquote></div><p>Нет конечно. <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /><br />Я думал там интерфейс есть... Ладно фиг с ним, и так почему то ОС притормаживает.</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2019-07-18T19:34:48Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=134914#p134914</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Эффекты окон - Blur, Glass, TransParent, TransColor.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=134908#p134908" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>serzh82saratov пишет:</cite><blockquote><p>Устанавливается, при запуске aerohost.exe<br />&quot;This service is not supposed to be executed by the user.&quot;<br />Я нечто подобное ставил, но всё работало с глюками.</p></blockquote></div><p>А ты по инструкции запускал?<br /></p><div class="quotebox"><blockquote><p>2) On Windows 8.1+, you should use host process which will inject DLL into DWM for you and also maintains that user settings are correctly loaded. Simply create schedule task to run aerohost.exe when your computer starts. This task must be created with admin privileges and run under SYSTEM account. You can find simple script to schedule such task here.</p></blockquote></div><p><a href="https://www.glass8.eu/guide">https://www.glass8.eu/guide</a></p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2019-07-18T16:09:20Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=134908#p134908</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Эффекты окон - Blur, Glass, TransParent, TransColor.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=134907#p134907" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>serzh82saratov пишет:</cite><blockquote><p>Как окно Blur сделать кликабельным, чтобы клики не проходили насквозь.</p></blockquote></div><p>На самом деле, правильнее было бы спросить, можно ли как-то сделать фон обычного окна вне контролов частично прозрачным. Я не представляю, как.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2019-07-18T12:28:52Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=134907#p134907</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Эффекты окон - Blur, Glass, TransParent, TransColor.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=134906#p134906" />
			<content type="html"><![CDATA[<p>Я про это и спрашиваю. Нет не видел, даже просто с блюром ни одного приложения.</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2019-07-18T10:23:43Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=134906#p134906</id>
		</entry>
</feed>
