<?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=9668</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=9668&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Прозрачный текст».]]></description>
		<lastBuildDate>Mon, 02 Jun 2014 05:47:50 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: Прозрачный текст]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=83585#p83585</link>
			<description><![CDATA[<p>Я заодно напомню про маскирующие символы.</p><div class="quotebox"><blockquote><p>Gui, +AlwaysOnTop<br />Gui, Add, Edit, w125 Password# hwndhLogin <br />Gui, Add, Edit, y+5 Password wp hwndhPass&nbsp; <br />Gui, Show <br />EM_SETCUEBANNER(hLogin, &quot;Login&quot;)<br />EM_SETCUEBANNER(hPass, &quot;Password&quot;, 0)<br />return </p><p> ; showfocus 1 - показывать подсказку когда в фокусе, 0 - непоказывать подсказку когда в фокусе</p><p>EM_SETCUEBANNER(HWND, Text, showfocus=1) {&nbsp; <br />&nbsp; &nbsp; SendMessage, 0x1501, showfocus, &amp;Text, , ahk_id %HWND% <br />}</p></blockquote></div>]]></description>
			<author><![CDATA[null@example.com (ypppu)]]></author>
			<pubDate>Mon, 02 Jun 2014 05:47:50 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=83585#p83585</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Прозрачный текст]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=83579#p83579</link>
			<description><![CDATA[<p>Я бы так сделал:<br /></p><div class="codebox"><pre><code>Gui, +AlwaysOnTop
Gui, Add, Text, vText
Gui, Add, Edit, yp xp w125 hwndhLogin 
Gui, Add, Edit, y+5 wp hwndhPass
GuiControl, Focus, Text
SendMessage, EM_SETCUEBANNER := 0x1501, 0, &quot;Login&quot;,, ahk_id %hLogin%
SendMessage, EM_SETCUEBANNER, 0, &quot;Password&quot;,, ahk_id %hPass%
Gui, Show</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Sun, 01 Jun 2014 21:14:32 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=83579#p83579</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Прозрачный текст]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=83572#p83572</link>
			<description><![CDATA[<div class="quotebox"><blockquote><p>А зачем там SendMessage через DllCall</p></blockquote></div><p>Просто привык с DllCall работать <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" />.</p>]]></description>
			<author><![CDATA[null@example.com (sergeiplugatyr)]]></author>
			<pubDate>Sun, 01 Jun 2014 17:46:46 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=83572#p83572</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Прозрачный текст]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=83571#p83571</link>
			<description><![CDATA[<p>Прикольно, а Я не знал про такую фишку. А зачем там SendMessage через DllCall, вроде и так работает:<br /></p><div class="codebox"><pre><code>
Gui, +AlwaysOnTop
Gui, Add, Edit, w125 hwndhLogin 
Gui, Add, Edit, y+5 wp hwndhPass  
Gui, Show 
EM_SETCUEBANNER(hLogin, &quot;Login&quot;)
EM_SETCUEBANNER(hPass, &quot;Password&quot;, 0)
return 

 ; showfocus 1 - показывать подсказку когда в фокусе, 0 - непоказывать подсказку когда в фокусе
 
EM_SETCUEBANNER(HWND, Text, showfocus=1) {  
    SendMessage, 0x1501, showfocus, &amp;Text, , ahk_id %HWND% 
}

</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (serzh82saratov)]]></author>
			<pubDate>Sun, 01 Jun 2014 17:34:54 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=83571#p83571</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Прозрачный текст]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=83569#p83569</link>
			<description><![CDATA[<p>Так?<br /></p><div class="codebox"><pre><code>Gui, Add, Edit, x0 y0 w125 h20 hwndhLogin, 
Gui, Add, Edit, x0 y25 w125 h20 hwndhPass, 
Gui, Show, w131 h54, 
SetEdit(hLogin, &quot;Login&quot;)
SetEdit(hPass, &quot;Password&quot;)
return
GuiClose: 
ExitApp 

SetEdit(HWND, Text) { 
  static Set := 0x1500 + 1 
  return DllCall(&quot;User32.dll\SendMessage&quot;, &quot;Ptr&quot;, HWND, &quot;UInt&quot;, Set, &quot;Ptr&quot;, True, &quot;WStr&quot;, Text) 
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (sergeiplugatyr)]]></author>
			<pubDate>Sun, 01 Jun 2014 16:56:26 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=83569#p83569</guid>
		</item>
		<item>
			<title><![CDATA[AHK: Прозрачный текст]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=83567#p83567</link>
			<description><![CDATA[<p>Как наложить на поле &quot;Edit&quot; прозрачный текст, но он не выделяется. Например на поле ввода для пароля пишется &quot;Пароль&quot;, для логина &quot;Логин&quot;<br />Может вы поняли, а может нет. Кто понял напишите исходный код.</p>]]></description>
			<author><![CDATA[null@example.com (tuma4ok)]]></author>
			<pubDate>Sun, 01 Jun 2014 16:30:29 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=83567#p83567</guid>
		</item>
	</channel>
</rss>
