<?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=8689&amp;type=atom" />
	<updated>2013-09-23T20:54:37Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=8689</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: переключение между картинками  в GUI]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=75518#p75518" />
			<content type="html"><![CDATA[<p>Большое спасибо ,всё работает.</p>]]></content>
			<author>
				<name><![CDATA[Ядрён]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30092</uri>
			</author>
			<updated>2013-09-23T20:54:37Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=75518#p75518</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: переключение между картинками  в GUI]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=75514#p75514" />
			<content type="html"><![CDATA[<p>Если внести минимальные изменения в готовый код, то можно так:<br /></p><div class="codebox"><pre><code>
~F9::
Label2:
GuiControl, hide, % &quot;static&quot; . 2 - pt := !pt
GuiControl, Show, % &quot;static&quot; . 1 + pt
Return
; хоткей F10 не нужен
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Irbis]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27384</uri>
			</author>
			<updated>2013-09-23T17:32:54Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=75514#p75514</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: переключение между картинками  в GUI]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=75512#p75512" />
			<content type="html"><![CDATA[<p>Долго мучился и вот написал код. Только переключение между картинками, двумя разными клавишами, а нужно одной. Помогите реализовать переключение по однй клавише.<br /></p><div class="codebox"><pre><code>


WS_EX_TRANSPARENT := 0x20
WS_EX_LAYERED := 0x80000

Gui, -Caption +AlwaysOnTop +Lastfound +ToolWindow
WinGet, ID
Gui, Color, EEAA99
WinSet TransColor, EEAA99
Gui, Add, Picture, y27 w60 h-1 gLabel1, E:\DOWN\priс.png
Gui, Add, Picture, y27 w60 h-1 gLabel2, E:\pricel\priс.png
Gui, Show, NA

Label1:
GuiControl, hide, static2
  
~F9::
Label2:
GuiControl, hide, static1
GuiControl, Show, static2
Return
  
~F10::
Label:
GuiControl, hide, static2
GuiControl, Show, static1
Return

WinSet, ExStyle, % &quot;+&quot; WS_EX_TRANSPARENT | WS_EX_LAYERED, ahk_id %ID%


Loop 
{
       
    Sleep 900000
    Reload
    
}
Return
~vk60::ExitApp


</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Ядрён]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30092</uri>
			</author>
			<updated>2013-09-23T16:10:51Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=75512#p75512</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: переключение между картинками  в GUI]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=75497#p75497" />
			<content type="html"><![CDATA[<p>Доброго времени суток. Помогите сделать переключение между картинками клавишей &quot;Ctrl&quot;</p><div class="codebox"><pre><code>
WS_EX_TRANSPARENT := 0x20
WS_EX_LAYERED := 0x80000

Gui, -Caption +AlwaysOnTop +Lastfound +ToolWindow
WinGet, ID
Gui, Color, EEAA99
WinSet TransColor, EEAA99
Gui, Add, Picture, y27 w60 h-1, E:\pricel\pril2.png
Gui, Add, Picture, y27 w60 h-1, E:\DOWN\priс.png
Gui, Add, Picture, y27 w60 h-1, E:\pricel\pri.png
Gui, Add, Picture, y27 w60 h-1, E:\pricel\pri1.png
Gui, Show, NA
WinSet, ExStyle, % &quot;+&quot; WS_EX_TRANSPARENT | WS_EX_LAYERED, ahk_id %ID%
Return
Loop 
{
       
    Sleep 900000
    Reload
    
}
Return
~vk60::ExitApp

</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Ядрён]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30092</uri>
			</author>
			<updated>2013-09-22T02:04:59Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=75497#p75497</id>
		</entry>
</feed>
