<?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=13291&amp;type=atom" />
	<updated>2017-12-27T19:55:32Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=13291</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK:Отображение GUI над игрой.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=122559#p122559" />
			<content type="html"><![CDATA[<p><strong>stealzy</strong>, а как сделать нажатие любой кнопки клавиатуры, что-бы оно передавалось в hEdit? Для каждой клавиши сделать ControlSend? Или есть другой способ? Для закрытия сделать горячую клавишу, с закрытием этого GUI?</p>]]></content>
			<author>
				<name><![CDATA[danyalukashak]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=38928</uri>
			</author>
			<updated>2017-12-27T19:55:32Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=122559#p122559</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK:Отображение GUI над игрой.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=122551#p122551" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>Gui Add, Edit, HwndhEdit
Gui Color, 0
Gui +Lastfound +ToolWindow +AlwaysOnTop -Caption -Border
WinSet TransColor, 0
Gui Show, NA
Gui +E0x20 
Return

F1::guiInputEnable:=!guiInputEnable
Esc::ExitApp
#If guiInputEnable
A::ControlSend,, {vk41}, ahk_id %hEdit%
#If</code></pre></div><p><strong>MandarinKa02</strong>, выдуманная цитата? Негативным ответом я считаю только ваш ответ, ибо он несет отрицательную полезность для спрашивающего.</p>]]></content>
			<author>
				<name><![CDATA[stealzy]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=31937</uri>
			</author>
			<updated>2017-12-27T14:44:20Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=122551#p122551</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK:Отображение GUI над игрой.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=122550#p122550" />
			<content type="html"><![CDATA[<div class="quotebox"><blockquote><p>На все негативные ответы выше.</p></blockquote></div><p>Осудить может каждый.</p>]]></content>
			<author>
				<name><![CDATA[MandarinKa02]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=34409</uri>
			</author>
			<updated>2017-12-27T14:37:51Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=122550#p122550</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK:Отображение GUI над игрой.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=122549#p122549" />
			<content type="html"><![CDATA[<p>Полагаю игра делает это при потере фокуса с ее окна, т.е. когда другое окно становится активным.<br />Вы не сможете взаимодействовать с gui обычным образом, но есть обходной путь.<br />Окно делаете прозрачным для кликов используя стиль +E0x20,<br />ввод в окно делаете с помощью горячих клавиш или клавиатурного хука.<br />Остается вопрос - когда ввод направлять в игру, а когда в gui?<br />Можно сделать переключение ввода горячей клавишей, можно определять положение gui на экране и при клике в эту область экрана направлять ввод в gui.</p>]]></content>
			<author>
				<name><![CDATA[stealzy]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=31937</uri>
			</author>
			<updated>2017-12-27T14:27:54Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=122549#p122549</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK:Отображение GUI над игрой.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=122548#p122548" />
			<content type="html"><![CDATA[<p>Я решил половину проблемы. Для отображения над игрой, я использую вот что:<br /></p><div class="codebox"><pre><code>WinGet, WinHND, ID, A
Gui, +Owner%WinHND% -Caption +AlwaysOnTop +Lastfound</code></pre></div><p>Но Если я нажимаю на поле ввода в этом GUI, то меня выбрасывает на рабочий стол. Как этого избежать?</p>]]></content>
			<author>
				<name><![CDATA[danyalukashak]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=38928</uri>
			</author>
			<updated>2017-12-27T13:44:43Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=122548#p122548</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK:Отображение GUI над игрой.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=122546#p122546" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>MandarinKa02 пишет:</cite><blockquote><p>AHK это урезанная версия С++ и функционал не велик</p></blockquote></div><p>Функционал напрямую зависит от ваших знаний, разве что мультипоточность не поддерживается.<br /></p><div class="quotebox"><cite>MandarinKa02 пишет:</cite><blockquote><p>Посмотрите AHK v2 может там есть.</p></blockquote></div><p>ИМХО перед тем как советовать, лучше один раз самому ознакомиться с предметом совета, чтобы знать что есть там, а чего нету.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2017-12-27T12:27:08Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=122546#p122546</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK:Отображение GUI над игрой.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=122545#p122545" />
			<content type="html"><![CDATA[<p>Ну тогда расскажите, что конкретно &quot;урезали&quot; в ahk по сравнению с C++, очень интересно.<br /></p><div class="quotebox"><cite>MandarinKa02 пишет:</cite><blockquote><p>в AHK v2 могли добавить функционал</p></blockquote></div><p>Рисование gui поверх DirectX нужно добавлять прямо в язык, иначе никак?<br />Назовите хотя бы один язык или фреймфорк, где этот &quot;функционал&quot; уже добавлен.</p>]]></content>
			<author>
				<name><![CDATA[stealzy]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=31937</uri>
			</author>
			<updated>2017-12-27T12:23:34Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=122545#p122545</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK:Отображение GUI над игрой.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=122541#p122541" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>stealzy пишет:</cite><blockquote><p>Ага, а C++ это урезанная версия ассемблера.</p></blockquote></div><p>Да ну! Не может быть. Это вы у ж слишком загнули <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /><br /></p><div class="quotebox"><cite>stealzy пишет:</cite><blockquote><p>Там есть что? Посмотрите еще под ковер, может там есть?</p></blockquote></div><p>Под ковром обычно пыль, но я не об этом. Имеется ввиду, что в AHK v2 могли добавить функционал подобного рода.</p>]]></content>
			<author>
				<name><![CDATA[MandarinKa02]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=34409</uri>
			</author>
			<updated>2017-12-27T06:29:27Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=122541#p122541</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK:Отображение GUI над игрой.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=122537#p122537" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>MandarinKa02 пишет:</cite><blockquote><p>AHK это урезанная версия С++ и функционал не велик.</p></blockquote></div><p>Ага, а C++ это урезанная версия ассемблера. А уж какой богатый у ассемблера функционал, отдельными регистрами можно управлять...<br /><span class="postimg"><img src="https://cs8.pikabu.ru/images/previews_comm/2017-02_4/1487306425156042710.jpg" alt="https://cs8.pikabu.ru/images/previews_comm/2017-02_4/1487306425156042710.jpg" /></span><br /></p><div class="quotebox"><cite>MandarinKa02 пишет:</cite><blockquote><p>AHK v2 может там есть.</p></blockquote></div><p>Там есть что? Посмотрите еще под ковер, может там есть?</p>]]></content>
			<author>
				<name><![CDATA[stealzy]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=31937</uri>
			</author>
			<updated>2017-12-27T00:05:35Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=122537#p122537</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK:Отображение GUI над игрой.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=122536#p122536" />
			<content type="html"><![CDATA[<p><strong>danyalukashak</strong>, если честно не знаю. <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /><br />AHK это урезанная версия С++ и функционал не велик. Посмотрите AHK v2 может там есть. Поищите в гугле информацию.</p>]]></content>
			<author>
				<name><![CDATA[MandarinKa02]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=34409</uri>
			</author>
			<updated>2017-12-26T20:13:53Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=122536#p122536</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK:Отображение GUI над игрой.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=122535#p122535" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>MandarinKa02 пишет:</cite><blockquote><p><strong>danyalukashak</strong>, правильно думаете. Там используется не DX9, а DX10, DX11... Или другие к примеру OpenGL.</p></blockquote></div><p>А других способов нету?</p>]]></content>
			<author>
				<name><![CDATA[danyalukashak]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=38928</uri>
			</author>
			<updated>2017-12-26T20:10:18Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=122535#p122535</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK:Отображение GUI над игрой.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=122534#p122534" />
			<content type="html"><![CDATA[<p><strong>danyalukashak</strong>, правильно думаете. Там используется не DX9, а DX10, DX11... Или другие к примеру OpenGL.</p>]]></content>
			<author>
				<name><![CDATA[MandarinKa02]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=34409</uri>
			</author>
			<updated>2017-12-26T17:45:23Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=122534#p122534</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK:Отображение GUI над игрой.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=122531#p122531" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>MandarinKa02 пишет:</cite><blockquote><p>Пока что не пробовал, ничего сказать не могу.</p></blockquote></div><p>Здравствуйте! Уже прошло много времени, надеюсь Вы ответите. Я установил dx9_overlay и даже разобрался как он работает, но он работает в Cs Go, а в новых играх-нет, так как скорее всего там не DX9 используется. Или я чего-то не понимаю. Есть ли ещё способы, хотел сделать свою таблицу игроков для игры &quot;Stick Fight: The Game&quot;, но GUI ахк и dx9_overlay там не работают.</p>]]></content>
			<author>
				<name><![CDATA[danyalukashak]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=38928</uri>
			</author>
			<updated>2017-12-26T16:57:42Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=122531#p122531</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK:Отображение GUI над игрой.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=122174#p122174" />
			<content type="html"><![CDATA[<p>Пока что не пробовал, ничего сказать не могу.</p>]]></content>
			<author>
				<name><![CDATA[MandarinKa02]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=34409</uri>
			</author>
			<updated>2017-12-10T20:15:46Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=122174#p122174</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK:Отображение GUI над игрой.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=122172#p122172" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>MandarinKa02 пишет:</cite><blockquote><p><a href="http://forum.script-coding.com/viewtopic.php?id=13254">Похожая тема</a>.</p></blockquote></div><p>Спасибо. А вы можете привести пример, как с этим работать?</p>]]></content>
			<author>
				<name><![CDATA[danyalukashak]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=38928</uri>
			</author>
			<updated>2017-12-10T20:01:55Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=122172#p122172</id>
		</entry>
</feed>
