<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: рамка определенного размера]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=12088</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=12088&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: рамка определенного размера».]]></description>
		<lastBuildDate>Sat, 22 Oct 2016 13:52:21 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: рамка определенного размера]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=108486#p108486</link>
			<description><![CDATA[<p>Большое спасибо!</p>]]></description>
			<author><![CDATA[null@example.com (ravensblade)]]></author>
			<pubDate>Sat, 22 Oct 2016 13:52:21 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=108486#p108486</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: рамка определенного размера]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=108463#p108463</link>
			<description><![CDATA[<div class="codebox"><pre><code>hwnd := ShowFrame(300, 200, 800, 600, 3, &quot;red&quot;)
Sleep, 1000
WinClose, ahk_id %hwnd%
ExitApp

ShowFrame(x, y, w, h, thickness, color)  {
   static WS_EX_LAYERED := 0x80000, WS_EX_TRANSPARENT := 0x20
   
   Gui, New, % &quot;+hwndhGui +ToolWindow -Caption +LastFound +AlwaysOnTop +Owner +E&quot; . WS_EX_LAYERED | WS_EX_TRANSPARENT
   Gui, Color, %color%
   t := thickness, dx := w - t, dy := h - t
   WinSet, Region, % &quot;0-0 &quot; w &quot;-0 &quot; w &quot;-&quot; h &quot; 0-&quot; h &quot; 0-0 &quot; t &quot;-&quot; t &quot; &quot; dx &quot;-&quot; t &quot; &quot; dx &quot;-&quot; dy &quot; &quot; t &quot;-&quot; dy &quot; &quot; t &quot;-&quot; t
   WinSet, Transparent, 0xFF
   Gui, Show, NA x%x% y%y% w%w% h%h%
   Return hGui
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Fri, 21 Oct 2016 20:21:35 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=108463#p108463</guid>
		</item>
		<item>
			<title><![CDATA[AHK: рамка определенного размера]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=108455#p108455</link>
			<description><![CDATA[<p>Всем привет!<br />Подскажите пожалуйста, как по нажатию клавиши отобразить на экране рамку, например 800х600px, толщиной рамки 3px, цвет красный.</p>]]></description>
			<author><![CDATA[null@example.com (ravensblade)]]></author>
			<pubDate>Fri, 21 Oct 2016 17:58:59 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=108455#p108455</guid>
		</item>
	</channel>
</rss>
