<?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[Dialog für Directorys]]></title><description><![CDATA[<p>Hallo!<br />
Ich benötige einen Dialog zum auswählen eines Directorys (Grund: Möchte alle Files herauslesen). Soll so aussehen wie im WinAmp beim auslesen aus einem Directory. Gibt es da in MFC etwas vorgefertigtes??<br />
Bitte um Hilfe!!</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/6205/dialog-für-directorys</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Apr 2026 23:23:07 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/6205.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 16 Jun 2003 17:50:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Dialog für Directorys on Mon, 16 Jun 2003 17:50:00 GMT]]></title><description><![CDATA[<p>Hallo!<br />
Ich benötige einen Dialog zum auswählen eines Directorys (Grund: Möchte alle Files herauslesen). Soll so aussehen wie im WinAmp beim auslesen aus einem Directory. Gibt es da in MFC etwas vorgefertigtes??<br />
Bitte um Hilfe!!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/30111</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/30111</guid><dc:creator><![CDATA[Stefan]]></dc:creator><pubDate>Mon, 16 Jun 2003 17:50:00 GMT</pubDate></item><item><title><![CDATA[Reply to Dialog für Directorys on Mon, 16 Jun 2003 19:16:00 GMT]]></title><description><![CDATA[<p>Hab ich mir irgendwan mal kopiert:</p>
<pre><code class="language-cpp">BROWSEINFO bi;
TCHAR   szDisplayName[MAX_PATH];
LPITEMIDLIST    pidl;
LPMALLOC  pMalloc = NULL;
ZeroMemory(&amp;bi, sizeof(bi));
bi.hwndOwner = NULL;
bi.pszDisplayName = szDisplayName;
bi.lpszTitle = TEXT(&quot;Wählen sie einen Ordner aus:&quot;);
bi.ulFlags = BIF_RETURNONLYFSDIRS;
pidl = SHBrowseForFolder(&amp;bi); 
CString Pfad; //Da is dann der Pfad drin
if ( pidl != 0 )
   {
        // get the name of the folder
        TCHAR path[MAX_PATH];
        if ( SHGetPathFromIDList ( pidl, path ) )
        {
            Pfad.Format(&quot;%s&quot;,path);
        }

        // free memory used
        IMalloc * imalloc = 0;
        if ( SUCCEEDED( SHGetMalloc ( &amp;imalloc )) )
        {
            imalloc-&gt;Free ( pidl );
            imalloc-&gt;Release ( );
        }
    }
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/30112</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/30112</guid><dc:creator><![CDATA[newvet]]></dc:creator><pubDate>Mon, 16 Jun 2003 19:16:00 GMT</pubDate></item><item><title><![CDATA[Reply to Dialog für Directorys on Mon, 16 Jun 2003 20:43:00 GMT]]></title><description><![CDATA[<p>Danke für die rasche Hilfe!!<br />
Das Beispiel kann ich gut gebrauchen!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/30113</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/30113</guid><dc:creator><![CDATA[Stefan]]></dc:creator><pubDate>Mon, 16 Jun 2003 20:43:00 GMT</pubDate></item></channel></rss>