<?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=37462&amp;view=findpost&amp;p=242255</guid>
        <pubDate>Wed, 20 Feb 2002 12:50:46 +0000</pubDate>
        <title>ListBox</title>
        <link>https://forum.sources.ru/index.php?showtopic=37462&amp;view=findpost&amp;p=242255</link>
        <description><![CDATA[margo: Ну не знаю, у меня работало...]]></description>
        <author>margo</author>
        <category>Visual C++ / MFC / WTL</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=37462&amp;view=findpost&amp;p=242254</guid>
        <pubDate>Wed, 20 Feb 2002 12:44:05 +0000</pubDate>
        <title>ListBox</title>
        <link>https://forum.sources.ru/index.php?showtopic=37462&amp;view=findpost&amp;p=242254</link>
        <description><![CDATA[eprup: Ну тогда уж лучше не CString использовать, а string STL'ный или вообще C-строки (хотя STL все-таки удобнее и надежнее).]]></description>
        <author>eprup</author>
        <category>Visual C++ / MFC / WTL</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=37462&amp;view=findpost&amp;p=242253</guid>
        <pubDate>Wed, 20 Feb 2002 10:06:14 +0000</pubDate>
        <title>ListBox</title>
        <link>https://forum.sources.ru/index.php?showtopic=37462&amp;view=findpost&amp;p=242253</link>
        <description><![CDATA[margo: Согласен с Codemaster-ом, но я использовал посимвольное досовое чтение потому как шифровал данные в файле.]]></description>
        <author>margo</author>
        <category>Visual C++ / MFC / WTL</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=37462&amp;view=findpost&amp;p=242252</guid>
        <pubDate>Wed, 20 Feb 2002 09:53:15 +0000</pubDate>
        <title>ListBox</title>
        <link>https://forum.sources.ru/index.php?showtopic=37462&amp;view=findpost&amp;p=242252</link>
        <description><![CDATA[Codemaster: Следует различать DOS и С Runtime функции. Хотя синтаксис не изменился, реализация уже давно не та.]]></description>
        <author>Codemaster</author>
        <category>Visual C++ / MFC / WTL</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=37462&amp;view=findpost&amp;p=242251</guid>
        <pubDate>Wed, 20 Feb 2002 09:43:29 +0000</pubDate>
        <title>ListBox</title>
        <link>https://forum.sources.ru/index.php?showtopic=37462&amp;view=findpost&amp;p=242251</link>
        <description><![CDATA[margo: Я использовал досовые шняги:<br><br>ifstream inf(&quot;FileName.txt&quot;, ios::in &#124; ios:: binary);<br>char ch;<br>CString sumb;<br>CString String;<br>int eof;<br>while(1)<br>{<br> &nbsp; String = &quot;&quot;;<br> &nbsp; eof = in.peek();<br> &nbsp; if(eof==EOF) break;<br> &nbsp; while(1)<br> &nbsp; {<br> &nbsp; &nbsp; &nbsp;ch = in.get();<br> &nbsp; &nbsp; &nbsp;if(ch=='\n') break;<br> &nbsp; &nbsp; &nbsp;sumb = ch;<br> &nbsp; &nbsp; &nbsp;String = String + sumb;<br> &nbsp; &nbsp;}<br> &nbsp; &nbsp;m_List.AddString(String); &nbsp;<br>}<br><br>Вроде так... не помню...]]></description>
        <author>margo</author>
        <category>Visual C++ / MFC / WTL</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=37462&amp;view=findpost&amp;p=242250</guid>
        <pubDate>Wed, 20 Feb 2002 09:28:51 +0000</pubDate>
        <title>ListBox</title>
        <link>https://forum.sources.ru/index.php?showtopic=37462&amp;view=findpost&amp;p=242250</link>
        <description><![CDATA[Codemaster: //VC++<br><br>CString strFileLine;<br>CStdioFile UserFile;<br>CFileException fileException;<br><br>if (UserFile.Open(g_strProgramDir + pszUserFileName, CFile::modeRead, &amp;fileException ))<br>{<br> for(int i = 0; UserFile.ReadString(strFileLine); i++)<br> {<br>     if(!strFileLine.IsEmpty())<br>     m_wndList.AddString(strFileLine);<br> }<br><br> UserFile.Close();<br>}]]></description>
        <author>Codemaster</author>
        <category>Visual C++ / MFC / WTL</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=37462&amp;view=findpost&amp;p=242249</guid>
        <pubDate>Wed, 20 Feb 2002 09:17:19 +0000</pubDate>
        <title>ListBox</title>
        <link>https://forum.sources.ru/index.php?showtopic=37462&amp;view=findpost&amp;p=242249</link>
        <description><![CDATA[cooluser: <div class='tag-quote'><span class='tag-quote-prefix'>Цитата</span> <span class='tag-quote__quote-info'>DimaM, 20.02.02, 11:16:49</span><div class='quote '>Привет всем!!!! Подскажите как из *.txt перенисти содежимое в ListBox, не одну строку, а несколько.<br> Большое спосибо всем.</div></div><br><br>TListBox-&gt;Items-&gt;Add(&quot;Строка которую хочешь добавить&quot;);<br>]]></description>
        <author>cooluser</author>
        <category>Visual C++ / MFC / WTL</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=37462&amp;view=findpost&amp;p=242248</guid>
        <pubDate>Wed, 20 Feb 2002 09:07:19 +0000</pubDate>
        <title>ListBox</title>
        <link>https://forum.sources.ru/index.php?showtopic=37462&amp;view=findpost&amp;p=242248</link>
        <description><![CDATA[Gurza: Чё ты ругаешся. ???<br>Может для человека этот вопрос проблемен.<br>Здесь собираются люди разного уговня.<br><br>]]></description>
        <author>Gurza</author>
        <category>Visual C++ / MFC / WTL</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=37462&amp;view=findpost&amp;p=242247</guid>
        <pubDate>Wed, 20 Feb 2002 08:39:12 +0000</pubDate>
        <title>ListBox</title>
        <link>https://forum.sources.ru/index.php?showtopic=37462&amp;view=findpost&amp;p=242247</link>
        <description><![CDATA[Codemaster: Блин, такие вопросы поганят форум! Неужели ты понятия не имеешь, как это сделать?]]></description>
        <author>Codemaster</author>
        <category>Visual C++ / MFC / WTL</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=37462&amp;view=findpost&amp;p=242246</guid>
        <pubDate>Wed, 20 Feb 2002 08:24:45 +0000</pubDate>
        <title>ListBox</title>
        <link>https://forum.sources.ru/index.php?showtopic=37462&amp;view=findpost&amp;p=242246</link>
        <description><![CDATA[margo: Допустим в файле данные набиты в столбик.. Ты читаешь из файла данные до первого перевода строки и загоняешь их в листбокс. Все это зацикливаешь пока не будет достигнут конец файла.]]></description>
        <author>margo</author>
        <category>Visual C++ / MFC / WTL</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=37462&amp;view=findpost&amp;p=242245</guid>
        <pubDate>Wed, 20 Feb 2002 08:16:49 +0000</pubDate>
        <title>ListBox</title>
        <link>https://forum.sources.ru/index.php?showtopic=37462&amp;view=findpost&amp;p=242245</link>
        <description><![CDATA[DimaM: Привет всем!!!! Подскажите как из *.txt перенисти содежимое в ListBox, не одну строку, а несколько.<br> Большое спосибо всем.]]></description>
        <author>DimaM</author>
        <category>Visual C++ / MFC / WTL</category>
      </item>
	
      </channel>
      </rss>
	