<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; HTA: Иконки из shell32.dll в ImageList Activex control]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=8229</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=8229&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «HTA: Иконки из shell32.dll в ImageList Activex control».]]></description>
		<lastBuildDate>Thu, 11 Apr 2013 22:07:43 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: HTA: Иконки из shell32.dll в ImageList Activex control]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=71306#p71306</link>
			<description><![CDATA[<p>Win7x32 - на res:// не реагирует... Иконка остаётся умолчательной. А я уже, было, обрадовался.</p>]]></description>
			<author><![CDATA[null@example.com (Serge Yolkin)]]></author>
			<pubDate>Thu, 11 Apr 2013 22:07:43 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=71306#p71306</guid>
		</item>
		<item>
			<title><![CDATA[HTA: Иконки из shell32.dll в ImageList Activex control]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=71280#p71280</link>
			<description><![CDATA[<p>Уважаемые форумчане, возможно ли передать ссылку на картинку (иконку) из shell32.dll в imagelist? Сам HTA вполне нормально относится к псевдопротоколу res://, но контрол, в частности LoadPicture() не хочет его понимать. Может надо через GetObject? Ниже код примера:<br /></p><div class="codebox"><pre><code>&lt;HTML&gt;
&lt;HEAD&gt;
&lt;META HTTP-EQUIV=Content-Type content=&#039;text/html;charset=windows-1251&#039;&gt;
&lt;TITLE&gt;Пример ImageList в HTA&lt;/TITLE&gt;
&lt;HTA:APPLICATION ID=&quot;ImgList&quot;
     ApplicationName = &quot;ImgList_HTA&quot;
     ICON=&quot;res://shell32.dll/2/230&quot;
     BORDER = &quot;thin&quot;
     INNERBORDER = &quot;no&quot;
     CONTEXTMENU = &quot;no&quot;
     MAXIMIZEBUTTON = &quot;no&quot;
     MinimizeButton = &quot;no&quot;
     SysMenu = &quot;yes&quot;
     SELECTION = &quot;no&quot;
     SHOWINTASKBAR = &quot;yes&quot;
     SCROLL = &quot;no&quot;
     SINGLEINSTANCE=&quot;yes&quot;
     WindowState = &quot;Normal&quot;
     /&gt;

&lt;object classid=&quot;clsid:2C247F23-8591-11D1-B16A-00C0F0283628&quot; 
id=&quot;ImageList&quot; width=&quot;32&quot; height=&quot;32&quot;&gt; 
  &lt;param name=&quot;_ExtentX&quot; value=&quot;946&quot;&gt; 
  &lt;param name=&quot;_ExtentY&quot; value=&quot;946&quot;&gt; 
  &lt;param name=&quot;BackColor&quot; value=&quot;-2147483643&quot;&gt; 
  &lt;param name=&quot;ImageWidth&quot; value=&quot;16&quot;&gt; 
  &lt;param name=&quot;ImageHeight&quot; value=&quot;16&quot;&gt; 
  &lt;param name=&quot;MaskColor&quot; value=&quot;12632256&quot;&gt; 
  &lt;param name=&quot;UseMaskColor&quot; value=&quot;-1&quot;&gt; 
  &lt;param name=&quot;_Version&quot; value=&quot;393216&quot;&gt; 
&lt;/object&gt; 
&lt;SCRIPT language = &quot;VBScript&quot;&gt;
&#039;ImageList.ListImages.Add ,,LoadPicture(&quot;D:\Images\1.ico&quot;)

&#039;ImageList.ListImages.Add ,,LoadPicture(GetObject(&quot;res://C:\WINDOWS\system32\shell32.dll/2/230&quot;))
ImageList.ListImages.Add ,,LoadPicture(&quot;res://C:\WINDOWS\system32\shell32.dll/2/230&quot;)


&lt;/SCRIPT&gt;
&lt;/HEAD&gt;
&lt;BODY bgcolor = &quot;#EEEEEE&quot;&gt;
&lt;TABLE style = width:100%&gt;
&lt;TR&gt;&lt;TD&gt;&lt;IMG src=&quot;res://shell32.dll/2/230&quot;&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;/TABLE&gt;
&lt;/BODY&gt;
&lt;/HTML&gt;</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Ambassador)]]></author>
			<pubDate>Thu, 11 Apr 2013 10:38:10 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=71280#p71280</guid>
		</item>
	</channel>
</rss>
