<?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="http://forum.script-coding.com/extern.php?action=feed&amp;tid=16911&amp;type=atom" />
	<updated>2022-01-28T18:22:18Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=16911</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: как сделать, чтобы на GUI нельзя было нажать]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=151845#p151845" />
			<content type="html"><![CDATA[<p>Спасибо, за клик сквозь окно отвечает. Вопрос решен.<br /></p><div class="codebox"><pre><code>
Winset, ExStyle, +0x20
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[yura170100]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=41910</uri>
			</author>
			<updated>2022-01-28T18:22:18Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=151845#p151845</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: как сделать, чтобы на GUI нельзя было нажать]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=151841#p151841" />
			<content type="html"><![CDATA[<p><strong>yura170100</strong></p><p>Поиск: &#039;клик сквозь окно&#039; - первая тема.</p>]]></content>
			<author>
				<name><![CDATA[__Михаил__]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=40928</uri>
			</author>
			<updated>2022-01-28T14:53:30Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=151841#p151841</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: как сделать, чтобы на GUI нельзя было нажать]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=151839#p151839" />
			<content type="html"><![CDATA[<p>Нет, в <a href="https://www.autohotkey.com/docs/commands/Gui.htm#Options">опциях окна</a> при создании (Unnamed ExStyle).</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2022-01-28T14:44:57Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=151839#p151839</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: как сделать, чтобы на GUI нельзя было нажать]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=151838#p151838" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong> с функцией winset?</p>]]></content>
			<author>
				<name><![CDATA[yura170100]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=41910</uri>
			</author>
			<updated>2022-01-28T14:34:07Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=151838#p151838</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: как сделать, чтобы на GUI нельзя было нажать]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=151834#p151834" />
			<content type="html"><![CDATA[<p>Добавьте ex-стиль WS_EX_TRANSPARENT при создании окна.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2022-01-28T13:41:52Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=151834#p151834</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: как сделать, чтобы на GUI нельзя было нажать]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=151832#p151832" />
			<content type="html"><![CDATA[<p>Ответа в интернете так и не нашел, если кто знает решение, был бы благодарен.</p>]]></content>
			<author>
				<name><![CDATA[yura170100]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=41910</uri>
			</author>
			<updated>2022-01-27T22:17:07Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=151832#p151832</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: как сделать, чтобы на GUI нельзя было нажать]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=151831#p151831" />
			<content type="html"><![CDATA[<p><strong>__Михаил__</strong> Это связано с параметрами Gui?</p>]]></content>
			<author>
				<name><![CDATA[yura170100]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=41910</uri>
			</author>
			<updated>2022-01-27T20:15:27Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=151831#p151831</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: как сделать, чтобы на GUI нельзя было нажать]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=151830#p151830" />
			<content type="html"><![CDATA[<p>Значит не верный запрос был. &#039;Blockinput&#039; тут не причём - это блок клавиатуры / мыши, он зачем вам?</p>]]></content>
			<author>
				<name><![CDATA[__Михаил__]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=40928</uri>
			</author>
			<updated>2022-01-27T20:08:00Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=151830#p151830</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: как сделать, чтобы на GUI нельзя было нажать]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=151829#p151829" />
			<content type="html"><![CDATA[<p><strong>__Михаил__</strong>, попробовал Blockinput, однако мне заблокировался ввод с клавиатуры и мыши, в ходе поиска не нашел ответа на свой вопрос.</p>]]></content>
			<author>
				<name><![CDATA[yura170100]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=41910</uri>
			</author>
			<updated>2022-01-27T20:00:36Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=151829#p151829</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: как сделать, чтобы на GUI нельзя было нажать]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=151828#p151828" />
			<content type="html"><![CDATA[<p>Естественно можете, зайдя в поиск и напечатать нужный запрос, прочитать хоть немного и понять раз и навсегда как этого можно добиться. Для этого поиск и существует.</p>]]></content>
			<author>
				<name><![CDATA[__Михаил__]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=40928</uri>
			</author>
			<updated>2022-01-27T19:44:24Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=151828#p151828</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: как сделать, чтобы на GUI нельзя было нажать]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=151827#p151827" />
			<content type="html"><![CDATA[<p><strong>__Михаил__</strong> могу узнать какой?</p>]]></content>
			<author>
				<name><![CDATA[yura170100]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=41910</uri>
			</author>
			<updated>2022-01-27T19:37:09Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=151827#p151827</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: как сделать, чтобы на GUI нельзя было нажать]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=151826#p151826" />
			<content type="html"><![CDATA[<p>Тут уже без DllCall решается так же одной строкой.</p>]]></content>
			<author>
				<name><![CDATA[__Михаил__]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=40928</uri>
			</author>
			<updated>2022-01-27T19:34:30Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=151826#p151826</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: как сделать, чтобы на GUI нельзя было нажать]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=151825#p151825" />
			<content type="html"><![CDATA[<p><strong>__Михаил__</strong><br />Здравствуйте, поиск показывает, как я понял, что за это отвечает параметр Disabled, однако он не работает, догадываюсь, что ответ связан с DllCall, но я простак в AHK, потому и задаю вопросы здесь. И был бы благодарен, если бы Вы объяснили, где можно найти справочные материалы касательно DllCall. Пользуюсь сайтом <a href="https://ahk-wiki.ru/">Ahk-wiki.ru</a> и не смог найти там ответ.</p>]]></content>
			<author>
				<name><![CDATA[yura170100]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=41910</uri>
			</author>
			<updated>2022-01-27T19:33:22Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=151825#p151825</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: как сделать, чтобы на GUI нельзя было нажать]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=151824#p151824" />
			<content type="html"><![CDATA[<p>И снова здравствуйте и снова что показывает поиск на такой вопрос?</p>]]></content>
			<author>
				<name><![CDATA[__Михаил__]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=40928</uri>
			</author>
			<updated>2022-01-27T19:22:19Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=151824#p151824</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: как сделать, чтобы на GUI нельзя было нажать]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=151823#p151823" />
			<content type="html"><![CDATA[<p>Доброго времени суток. Написал небольшое ахк, которое работает как биндер и памятка по игре. Когда крутишь камерой, мышкой можно нажать на GUI, что немножко затрудняет игровой процесс с данным скриптом. Возможно ли как-то сделать, чтобы нельзя было нажать на него, грубо говоря чтобы игнорировал нажатия, будто они проходят сквозь него. Потому как при нажатии на него происходит характерный звук и активное окно становится неактивным.</p><div class="codebox"><pre><code>
!2::
State3:=!State3

If state3
{
{
DllCall(&quot;ShowCursor&quot;, UInt, 0)

CustomColor3 = EEAA99

Gui +LastFound +AlwaysOnTop -Caption +ToolWindow +Disabled 

Gui, Color, black

Gui, Font, s7

Gui, Font, cWhite

Gui, Font, w4500

GUI, ADD, TEXT,,      Введите ключевое слово в чат без ошибок и нажмите TAB
GUI, ADD, TEXT, cRed, Ключевые слова:
GUI, ADD, TEXT,,      Бдж-бейдж [Клавишы Alt+Numpad1 изменить бейджик]
GUI, ADD, TEXT,,      Бдк-бодикамера
GUI, ADD, TEXT,,      Обыск
GUI, ADD, TEXT,,      Марк Alt+q
GUI, ADD, TEXT,,      фМарк Alt+e(фракционный маркер)
GUI, ADD, TEXT,,      КПЗ
GUI, ADD, TEXT,,      Мрнд-миранда
GUI, ADD, TEXT,,      Вызвать/убрать это меню - Alt+2
GUI, ADD, TEXT,,      Закрыть биндер - Alt+1

WinSet, TransColor, %CustomColor3% 200

Gui, Show, x5 y%a2% NoActivate, window. 
}
}

Else
Gui Destroy
Return
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[yura170100]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=41910</uri>
			</author>
			<updated>2022-01-27T19:20:03Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=151823#p151823</id>
		</entry>
</feed>
