<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Изменение стилей Static]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=14525&amp;type=atom" />
	<updated>2019-01-30T15:14:03Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=14525</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Изменение стилей Static]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=131783#p131783" />
			<content type="html"><![CDATA[<p>Сто раз читал, но ни разу не замечал. <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /> Спасибо!</p><p>По поводу стилей, на MSDN не пишут что стиль неизменяемый?</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2019-01-30T15:14:03Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=131783#p131783</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Изменение стилей Static]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=131780#p131780" />
			<content type="html"><![CDATA[<p>По первому в хэлпе в GuiControl написано, по второму — не всегда можно менять стили после создания контрола, проще скрывать один и показывать другой.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2019-01-30T14:37:28Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=131780#p131780</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Изменение стилей Static]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=131769#p131769" />
			<content type="html"><![CDATA[<p>Может я что то забыл, но как изменить шрифт и его размер.<br />И как применить стиль SS_SUNKEN уже после создания контрола.<br /></p><div class="codebox"><pre><code>
SS_SUNKEN := 0x1000 
 
Gui, Font, s14, Comic Sans MS
Gui, Add, Text, hwndhStatic Center w111 h55 Border, Static 
Gui, Add, Text, hwndhStatic2 y+77 w111 h55, Static 2
Gui, Show, w333 h222
MsgBox  
WinSet, Style, +%SS_SUNKEN%, % &quot;ahk_id&quot; hStatic2
Control, Style, +%SS_SUNKEN%, , % &quot;ahk_id&quot; hStatic2
GuiControl, Move, %hStatic%, w222 h111
MsgBox  
SetStaticFont(hStatic, 22, &quot;Verdana&quot;)
return

SetStaticFont(hwnd, size, font) {
	
}
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2019-01-30T00:03:31Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=131769#p131769</id>
		</entry>
</feed>
