<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Datei aus Listbox entfernen]]></title><description><![CDATA[<p>Und wieder mal ein Listbox Problem <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /></p>
<p>Ich habe eine Listbox in der NUR Verzeichnisse angezeigt werden sollen. Allerdings zeigt die Listbox auch Dateien an. Meine Frage ist jetzt: Was muss ich tun damit die Daetien ignoriert werden?</p>
<pre><code class="language-cpp">TSearchRec sr;
 ListBox1-&gt;Clear();
  if (FindFirst(&quot;Mods\\*&quot;, faDirectory, sr) == 0)
   do ListBox1-&gt;Items-&gt;Add(sr.Name);
   while (FindNext(sr) == 0);
  FindClose(sr);
 ListBox1-&gt;Items-&gt;Delete(!&quot;.&quot;);
ListBox1-&gt;Items-&gt;Delete(!&quot;..&quot;);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/108936/datei-aus-listbox-entfernen</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Jul 2026 03:22:07 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/108936.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 04 May 2005 18:10:59 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Datei aus Listbox entfernen on Wed, 04 May 2005 18:10:59 GMT]]></title><description><![CDATA[<p>Und wieder mal ein Listbox Problem <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /></p>
<p>Ich habe eine Listbox in der NUR Verzeichnisse angezeigt werden sollen. Allerdings zeigt die Listbox auch Dateien an. Meine Frage ist jetzt: Was muss ich tun damit die Daetien ignoriert werden?</p>
<pre><code class="language-cpp">TSearchRec sr;
 ListBox1-&gt;Clear();
  if (FindFirst(&quot;Mods\\*&quot;, faDirectory, sr) == 0)
   do ListBox1-&gt;Items-&gt;Add(sr.Name);
   while (FindNext(sr) == 0);
  FindClose(sr);
 ListBox1-&gt;Items-&gt;Delete(!&quot;.&quot;);
ListBox1-&gt;Items-&gt;Delete(!&quot;..&quot;);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/781851</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/781851</guid><dc:creator><![CDATA[ZeroOne]]></dc:creator><pubDate>Wed, 04 May 2005 18:10:59 GMT</pubDate></item><item><title><![CDATA[Reply to Datei aus Listbox entfernen on Wed, 04 May 2005 20:03:24 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<blockquote>
<p><em>BCB-Hilfezu TSearchRec :</em><br />
Um ein Attribut zu testen, führen Sie eine AND-Verknüpfung des Attr-Feldes mit der Attributkonstante durch. Besitzt die Datei das betreffende Attribut, ist der zurückgegebene Wert größer als 0. Wurde beispielsweise eine verborgene Datei gesucht, ergibt der folgende Ausdruck true: (SearchRec.Attr &amp; faHidden) != 0.</p>
</blockquote>
<p>Nash</p>
]]></description><link>https://www.c-plusplus.net/forum/post/781926</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/781926</guid><dc:creator><![CDATA[Nash]]></dc:creator><pubDate>Wed, 04 May 2005 20:03:24 GMT</pubDate></item><item><title><![CDATA[Reply to Datei aus Listbox entfernen on Wed, 04 May 2005 21:10:41 GMT]]></title><description><![CDATA[<p>Und bitte die Überschriften durchdenken!<br />
Mit der ListBox hat das Problem, wie auch schon in deinem &quot;ListBox Fehler&quot;-Beitrag, überhaupt nichts zu tun.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/781965</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/781965</guid><dc:creator><![CDATA[Jansen]]></dc:creator><pubDate>Wed, 04 May 2005 21:10:41 GMT</pubDate></item></channel></rss>