<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; VBScript: вывод всплывающего комментария ToolTip]]></title>
	<link rel="self" href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=218&amp;type=atom" />
	<updated>2006-11-14T19:03:47Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=218</id>
		<entry>
			<title type="html"><![CDATA[VBScript: вывод всплывающего комментария ToolTip]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=1135#p1135" />
			<content type="html"><![CDATA[<p>Вывод всплывающего комментария ToolTip под курсор мыши:<br /></p><div class="codebox"><pre><code>Set Hh = CreateObject(&quot;Internet.HHCtrl&quot;)
Hh.TextPopup &quot;Привет, Скрипт-кодинг!&quot; &amp; vbCrLf &amp; _
&quot;Контрол справки&quot;, &quot;Lucida Console,8&quot;, 1, 1, 1, 1
WScript.Sleep 3000
Hh.TextPopup &quot;Hello Script-Coding!&quot; &amp; vbCrLf &amp; _
&quot;HH Ctrl&quot;, &quot;Courier New,36&quot;, 1, 1, 1, 1
WScript.Sleep 3000
Set Hh = Nothing</code></pre></div><p>Internet.HHCtrl является стандартной компонентой Windows (%windir%\system32\hhctrl.ocx) и предназначен для поддержки справочной системы. В примере использован метод:<br /></p><div class="codebox"><pre><code>TextPopup(ByVal pszText As String, ByVal pszFont As String, ByVal horzMargins As Long, ByVal vertMargins As Long, ByVal clrForeground As Unsigned Long, ByVal clrBackground As Unsigned Long)</code></pre></div><p>Возможно, что остальные методы Internet.HHCtrl используются приложением HH.exe и работают только в этом контексте.<br />Информацию опубликовал <strong>Poltergeyst</strong>.</p>]]></content>
			<author>
				<name><![CDATA[The gray Cardinal]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=2</uri>
			</author>
			<updated>2006-11-14T19:03:47Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=1135#p1135</id>
		</entry>
</feed>
