<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: DllCall("ShowCursor", UInt, 0/1) в определенном GUI]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=17548&amp;type=atom" />
	<updated>2023-01-13T17:06:39Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=17548</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: DllCall("ShowCursor", UInt, 0/1) в определенном GUI]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=156281#p156281" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />Исправил, извините.</p>]]></content>
			<author>
				<name><![CDATA[yura170100]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=41910</uri>
			</author>
			<updated>2023-01-13T17:06:39Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=156281#p156281</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: DllCall("ShowCursor", UInt, 0/1) в определенном GUI]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=156279#p156279" />
			<content type="html"><![CDATA[<p><strong>yura170100</strong>, ознакомьтесь, пожалуйста, с <a href="https://forum.script-coding.com/misc.php?action=rules">Правилами</a>, отредактируйте свой пост. Обратите внимание на <a href="https://forum.script-coding.com/misc.php?action=rules#literacy">точки</a> в конце предложений.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2023-01-13T15:58:09Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=156279#p156279</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: DllCall("ShowCursor", UInt, 0/1) в определенном GUI]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=156278#p156278" />
			<content type="html"><![CDATA[<p><strong>__Михаил__</strong><br />Скрипт может использоваться в полноэкранных приложениях, где по умолчанию не видно курсора, и когда курсор попадает на GUI. то его видно.</p>]]></content>
			<author>
				<name><![CDATA[yura170100]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=41910</uri>
			</author>
			<updated>2023-01-13T15:56:44Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=156278#p156278</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: DllCall("ShowCursor", UInt, 0/1) в определенном GUI]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=156262#p156262" />
			<content type="html"><![CDATA[<p>Не могу понять зачем использовать скрытие курсора. Судя по настройкам - окна всё равно на него не реагируют.</p>]]></content>
			<author>
				<name><![CDATA[__Михаил__]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40928</uri>
			</author>
			<updated>2023-01-12T22:06:31Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=156262#p156262</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: DllCall("ShowCursor", UInt, 0/1) в определенном GUI]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=156257#p156257" />
			<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>2023-01-12T20:28:49Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=156257#p156257</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: DllCall("ShowCursor", UInt, 0/1) в определенном GUI]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=156256#p156256" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />Не подскажете, через что именно можно отслеживать?</p>]]></content>
			<author>
				<name><![CDATA[yura170100]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=41910</uri>
			</author>
			<updated>2023-01-12T20:27:47Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=156256#p156256</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: DllCall("ShowCursor", UInt, 0/1) в определенном GUI]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=156255#p156255" />
			<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>2023-01-12T20:24:54Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=156255#p156255</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: DllCall("ShowCursor", UInt, 0/1) в определенном GUI]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=156254#p156254" />
			<content type="html"><![CDATA[<p>Добрый день, есть код, в котором прописан DllCall(&quot;ShowCursor&quot;, UInt, 0), однако он работает сразу на все GUI, даже когда нажимаешь ПКМ на скрипт в трее, возможно ли сделать, что бы этот параметр относился к определенному GUI? <br />Код представлен ниже.<br /></p><div class="codebox"><pre><code>
!1::

State1:=!State1
if state1
{
{
state3:=0
If state3=0
{
Gui, 13:Destroy
}
}

Gui, 13:Destroy
DllCall(&quot;ShowCursor&quot;, UInt, 0)
CustomColor2 = EEAA99

Gui +LastFound +AlwaysOnTop -Caption +ToolWindow +Disabled
GuiControl, Disable, Tab
Gui, Color, black

Gui, Font, s6.5

Gui, Font, cWhite

Gui, Font, w5000

GUI, ADD, TEXT,,      Тест 1

WinSet, TransColor, %CustomColor2% 200
Winset, ExStyle, +0x20
Gui, Show, x400 ycenter NoActivate, window. 
}
Else
{
Gui Destroy
}

Return


!2::
State3:=!State3

{
state1:=0
If state1
{
Gui Destroy
}
}

If state3
{
Gui Destroy
DllCall(&quot;ShowCursor&quot;, UInt, 0)
CustomColor3 = EEAA99

gui, 13:+LastFound +AlwaysOnTop -Caption +ToolWindow +Disabled

gui, 13:Color, black

gui, 13:Font, s7

gui, 13:Font, cWhite

gui, 13:Font, w2000


gui, 13:ADD, TEXT,,       Тест 2

WinSet, TransColor, %CustomColor3% 200
Winset, ExStyle, +0x20

gui, 13:Show, x400 y20 NoActivate, window. 
}
Else
{
Gui, 13:Destroy
}
Return
</code></pre></div><p>Заранее благодарю.</p>]]></content>
			<author>
				<name><![CDATA[yura170100]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=41910</uri>
			</author>
			<updated>2023-01-12T20:06:51Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=156254#p156254</id>
		</entry>
</feed>
