<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: Gui, открытие .png поверх окна.]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=14239</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=14239&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Gui, открытие .png поверх окна.».]]></description>
		<lastBuildDate>Sat, 13 Oct 2018 14:26:13 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[AHK: Gui, открытие .png поверх окна.]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=129192#p129192</link>
			<description><![CDATA[<p>Добрый день, подскажите пож-та, возможно ли , чтобы открываемый файл был поверх основного окна gui, а после нажатия на открытую картинку - она закрывалась. Заранее спасибо!</p><br /><div class="codebox"><pre><code>
Gui, +Caption ;+AlwaysOnTop
Gui, Font, S12 CDefault  Italic, Verdana

Gui, Add, Text, x20 y30, Экзамен 
Gui, Add, Text, x5  y+25   w1275   h1    0x10   
Gui, Add, Text, x10 y+10 +Left, Панель вопросов 

Gui, Add, Pic, xm vPic

Gui, Add, Text, x5  y170   w1275   h1    0x10  


Gui, Add, Tab2, AltSubmit x30 y130 w1200 h50 Buttons -Wrap vTAB_BUTTON,`   1  |  


Gui, Add, Button, x300 , &amp;Load New Image

Gui, Tab, 1

Gui, Add, Text, x5  y+30   w1275   h1    0x10  

Gui, Add, Text, x52 y+10 w1000 h60, Vopros1

Gui, Add, Button, x10 y+-30 w150 h50 g1, Otvet1
Gui, Add, Button,  x+60  w150 h50 g2,  Otvet2
Gui, Add, Button, x+60  w150 h50 g3, Otvet3
Gui, Add, Button, x+60  w150 h50 g4,  Otvet4


Gui, Show, w800 h600, Test
return


1:
2:
3:
4:


ButtonLoadNewImage:

FileSelectFile, file,,, Select an image:, Images (*.gif; *.jpg; *.bmp; *.png)

GuiControl,, Pic, *w%width% *h%height% %file%  
Gui, Show, xCenter y0 AutoSize, %file%  .
return



Esc::ExitApp

</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (inseption86)]]></author>
			<pubDate>Sat, 13 Oct 2018 14:26:13 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=129192#p129192</guid>
		</item>
	</channel>
</rss>
