<?xml version='1.0' encoding="utf-8"?>
      <rss version='2.0'>
      <channel>
      <title>Форум на Исходниках.RU</title>
      <link>https://forum.sources.ru</link>
      <description>Форум на Исходниках.RU</description>
      <generator>Форум на Исходниках.RU</generator>
  	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=269179&amp;view=findpost&amp;p=2235897</guid>
        <pubDate>Sun, 05 Apr 2009 07:05:17 +0000</pubDate>
        <title>HOWTO: Автозаполнение.</title>
        <link>https://forum.sources.ru/index.php?showtopic=269179&amp;view=findpost&amp;p=2235897</link>
        <description><![CDATA[varzind: <strong class='tag-b'>ALXR</strong>, отличный код и очень своевременный для меня))))) +]]></description>
        <author>varzind</author>
        <category>Visual Basic: Общие вопросы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=269179&amp;view=findpost&amp;p=2235793</guid>
        <pubDate>Sat, 04 Apr 2009 20:42:28 +0000</pubDate>
        <title>HOWTO: Автозаполнение.</title>
        <link>https://forum.sources.ru/index.php?showtopic=269179&amp;view=findpost&amp;p=2235793</link>
        <description><![CDATA[B.V.: Код уехал в FAQ :)]]></description>
        <author>B.V.</author>
        <category>Visual Basic: Общие вопросы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=269179&amp;view=findpost&amp;p=2235782</guid>
        <pubDate>Sat, 04 Apr 2009 20:24:47 +0000</pubDate>
        <title>HOWTO: Автозаполнение.</title>
        <link>https://forum.sources.ru/index.php?showtopic=269179&amp;view=findpost&amp;p=2235782</link>
        <description><![CDATA[ALXR: <div class='tag-quote'><a class='tag-quote-link' href='https://forum.sources.ru/index.php?showtopic=269179&view=findpost&p=2235611'><span class='tag-quote-prefix'>Цитата</span></a> <span class='tag-quote__quote-info'>B.V. &#064; <time class="tag-quote__quoted-time" datetime="2009-04-04T16:17:12+00:00">04.04.09, 16:17</time></span><div class='quote '>CoUninitialize забыл</div></div><br>
Я вообще полагал, что оно вызывается средой VB, но для наглядности добавил. Забросил <strong class='tag-b'>CoUninitialize</strong>.]]></description>
        <author>ALXR</author>
        <category>Visual Basic: Общие вопросы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=269179&amp;view=findpost&amp;p=2235672</guid>
        <pubDate>Sat, 04 Apr 2009 17:48:35 +0000</pubDate>
        <title>HOWTO: Автозаполнение.</title>
        <link>https://forum.sources.ru/index.php?showtopic=269179&amp;view=findpost&amp;p=2235672</link>
        <description><![CDATA[B.V.: Для наглядности, видимо.]]></description>
        <author>B.V.</author>
        <category>Visual Basic: Общие вопросы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=269179&amp;view=findpost&amp;p=2235668</guid>
        <pubDate>Sat, 04 Apr 2009 17:47:12 +0000</pubDate>
        <title>HOWTO: Автозаполнение.</title>
        <link>https://forum.sources.ru/index.php?showtopic=269179&amp;view=findpost&amp;p=2235668</link>
        <description><![CDATA[Alex77: A прикрепление-то к чему?]]></description>
        <author>Alex77</author>
        <category>Visual Basic: Общие вопросы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=269179&amp;view=findpost&amp;p=2235611</guid>
        <pubDate>Sat, 04 Apr 2009 16:17:12 +0000</pubDate>
        <title>HOWTO: Автозаполнение.</title>
        <link>https://forum.sources.ru/index.php?showtopic=269179&amp;view=findpost&amp;p=2235611</link>
        <description><![CDATA[B.V.: CoUninitialize забыл]]></description>
        <author>B.V.</author>
        <category>Visual Basic: Общие вопросы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=269179&amp;view=findpost&amp;p=2235532</guid>
        <pubDate>Sat, 04 Apr 2009 14:06:15 +0000</pubDate>
        <title>HOWTO: Автозаполнение.</title>
        <link>https://forum.sources.ru/index.php?showtopic=269179&amp;view=findpost&amp;p=2235532</link>
        <description><![CDATA[ALXR: Хотите автозаполнение, как у диалога запуска файлов? Лень возится с написанием такой примочки вручную? Есть простой способ&#33;<br>
<br>
Бросаем на форму TextBox и ComboBox, далее пишем такой код:<br>
<div class='tag-code'><span class='pre_code'></span><div class='code  code_collapsed ' title='Подсветка синтаксиса доступна зарегистрированным участникам Форума.' style=''><div><div><ol type="1"><div class="code_line">Private Declare Function SHAutoComplete Lib &quot;shlwapi&quot; (ByVal hWnd As Long, ByVal uflag As Long) As Long</div><div class="code_line">Private Declare Function CoInitialize Lib &quot;ole32&quot; (ByVal pvReserved As Long) As Long</div><div class="code_line">Private Declare Function FindWindowExA Lib &quot;user32&quot; (ByVal hWnd As Long, ByVal hWnd2 As Long, ByVal lpszClass As Any, ByVal lpszTitle As Any) As Long</div><div class="code_line">Private Declare Function CoUninitialize Lib &quot;ole32&quot; () As Long</div><div class="code_line">&nbsp;</div><div class="code_line">Private Const SHACF_DEFAULT = 0</div><div class="code_line">Private Const SHACF_FILESYSTEM = 1</div><div class="code_line">Private Const SHACF_URLHISTORY = 2</div><div class="code_line">Private Const SHACF_URLMRU = 4</div><div class="code_line">Private Const SHACF_URLALL = SHACF_URLHISTORY Or SHACF_URLMRU</div><div class="code_line">Private Const SHACF_USETAB = 8</div><div class="code_line">Private Const SHACF_FILESYS_ONLY = &amp;H10</div><div class="code_line">&nbsp;</div><div class="code_line">Private Const SHACF_AUTOSUGGEST_FORCE_ON = &amp;H10000000</div><div class="code_line">Private Const SHACF_AUTOSUGGEST_FORCE_OFF = &amp;H20000000</div><div class="code_line">Private Const SHACF_AUTOAPPEND_FORCE_ON = &amp;H40000000</div><div class="code_line">Private Const SHACF_AUTOAPPEND_FORCE_OFF = &amp;H80000000</div><div class="code_line">&nbsp;</div><div class="code_line">&nbsp;</div><div class="code_line">Private Sub Form_Load()</div><div class="code_line">Call CoInitialize(0)</div><div class="code_line">Call SHAutoComplete(Text1.hWnd, SHACF_USETAB Or SHACF_FILESYSTEM Or SHACF_URLALL Or SHACF_FILESYS_ONLY)</div><div class="code_line">Call SHAutoComplete(FindWindowExA(Combo1.hWnd, 0, 0&amp;, 0&amp;), SHACF_USETAB Or SHACF_FILESYSTEM Or SHACF_URLALL Or SHACF_FILESYS_ONLY)</div><div class="code_line">End Sub</div><div class="code_line">&nbsp;</div><div class="code_line">Private Sub Form_Unload(Cancel As Integer)</div><div class="code_line">Call CoUninitialize()</div><div class="code_line">End Sub</div></ol></div></div></div></div><script>preloadCodeButtons('1');</script><br>
<br>
Запускаем, в текстовом поле или в списке набираем что-то вроде <strong class='tag-b'>C:&#092;</strong>.]]></description>
        <author>ALXR</author>
        <category>Visual Basic: Общие вопросы</category>
      </item>
	
      </channel>
      </rss>
	