<?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[hallo leute]]></title><description><![CDATA[<p>Kann mir vielleicht jemand verraten warum der folgende code bei mehr als 17 Datein als Auswahl nicht funktioniert!?!? (MSDN half nicht)</p>
<pre><code>CFileDialog d(TRUE, NULL, NULL, OFN_ALLOWMULTISELECT, NULL, this);   
d.DoModal(); //Dialog zeigen 
POSITION p = d.GetStartPosition(); //Startposition bestimmen 
while (p != NULL){ //solange noch andere Filenames da sind 
    MessageBox(d.GetNextPathName(p)); //Name ausgeben 
}
</code></pre>
<p>vielen dank.<br />
gruss</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/51985/hallo-leute</link><generator>RSS for Node</generator><lastBuildDate>Sun, 31 May 2026 18:01:51 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/51985.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 15 Oct 2003 12:46:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to hallo leute on Wed, 15 Oct 2003 12:46:55 GMT]]></title><description><![CDATA[<p>Kann mir vielleicht jemand verraten warum der folgende code bei mehr als 17 Datein als Auswahl nicht funktioniert!?!? (MSDN half nicht)</p>
<pre><code>CFileDialog d(TRUE, NULL, NULL, OFN_ALLOWMULTISELECT, NULL, this);   
d.DoModal(); //Dialog zeigen 
POSITION p = d.GetStartPosition(); //Startposition bestimmen 
while (p != NULL){ //solange noch andere Filenames da sind 
    MessageBox(d.GetNextPathName(p)); //Name ausgeben 
}
</code></pre>
<p>vielen dank.<br />
gruss</p>
]]></description><link>https://www.c-plusplus.net/forum/post/372796</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/372796</guid><dc:creator><![CDATA[peperonee]]></dc:creator><pubDate>Wed, 15 Oct 2003 12:46:55 GMT</pubDate></item><item><title><![CDATA[Reply to hallo leute on Wed, 15 Oct 2003 13:40:49 GMT]]></title><description><![CDATA[<p>hi,</p>
<p>woran das genau lag weiß ich nicht mehr, aber du solltest es mal so probieren...</p>
<pre><code class="language-cpp">TCHAR newString[20480]; 
  newString[0] = 0;
	CDlgSelectFiles oDlgSelFiles(
                               true,                                                      // true für FileOpen
                               &quot;*.?pp&quot;,                                                   // DefExtension
                               NULL,                                                      // FileName
                               OFN_OVERWRITEPROMPT|OFN_ALLOWMULTISELECT,                  // Flags
                               &quot;Alle Dateien (*.*)|*.*|Quellcodedateien (*.?pp)|*.?pp||&quot;, // Filter
                               NULL);                                                     // pParent
  oDlgSelFiles.m_ofn.lpstrFile = newString;
  oDlgSelFiles.m_ofn.nMaxFile = 20480; 
  int iRet = oDlgSelFiles.DoModal();
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/372859</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/372859</guid><dc:creator><![CDATA[Hexagon]]></dc:creator><pubDate>Wed, 15 Oct 2003 13:40:49 GMT</pubDate></item><item><title><![CDATA[Reply to hallo leute on Wed, 15 Oct 2003 13:47:11 GMT]]></title><description><![CDATA[<p>bin nicht der mfc-experte aber mein compiler mag CDlgSelectFiles ueberhaupt nicht.</p>
<p>andere vorschlaege?</p>
<p>danke.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/372868</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/372868</guid><dc:creator><![CDATA[peperonee]]></dc:creator><pubDate>Wed, 15 Oct 2003 13:47:11 GMT</pubDate></item><item><title><![CDATA[Reply to hallo leute on Wed, 15 Oct 2003 13:51:20 GMT]]></title><description><![CDATA[<p>*plonk* <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f644.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_rolling_eyes"
      title=":rolling_eyes:"
      alt="🙄"
    /> <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
<p>Versuch es mal mit &quot;CFileDialog&quot;, okay? <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/372873</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/372873</guid><dc:creator><![CDATA[Hexagon]]></dc:creator><pubDate>Wed, 15 Oct 2003 13:51:20 GMT</pubDate></item><item><title><![CDATA[Reply to hallo leute on Wed, 15 Oct 2003 14:38:02 GMT]]></title><description><![CDATA[<p>vielleicht noch folgendes: warum funktioniert das ganze jetzt und hat vorher nicht funktioniert ???</p>
<p>danke.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/372912</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/372912</guid><dc:creator><![CDATA[peperonee]]></dc:creator><pubDate>Wed, 15 Oct 2003 14:38:02 GMT</pubDate></item><item><title><![CDATA[Reply to hallo leute on Thu, 16 Oct 2003 08:10:37 GMT]]></title><description><![CDATA[<p>Die Dlg für Fileauswahl haben einen begrenzten Puffer für die ausgewählten Dateinamen. Bedenke, dass dort immer der komplette Pfad für jede Datei drin steht. Je tiefer die Dateihierarchie und je länger die Foldernamen, je weniger Dateien kann man auswählen.</p>
<p>Der Puffer wurde mit<br />
oDlgSelFiles.m_ofn.nMaxFile = 20480;<br />
vergrößert und so kann man jetzt auch mehr Dateien öffnen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/373411</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/373411</guid><dc:creator><![CDATA[MuehBln]]></dc:creator><pubDate>Thu, 16 Oct 2003 08:10:37 GMT</pubDate></item></channel></rss>