<?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[Erweiterten File-Öffnen Dialog (Windows XP) anzeigen]]></title><description><![CDATA[<p>Hallo,</p>
<p>unter Windows XP gibt es einen erweiterten File-Öffnen-Dialog, bei dem links noch verschiedene Buttons (z.B. Desktop, Eigene-Dateien, Netzwerk, usw.) angezeigt werden.</p>
<p>Wie kann ich diesen Dialog benutzen?</p>
<p>Ich arbeite mit Borland Builder V5 Prof.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/98647/erweiterten-file-öffnen-dialog-windows-xp-anzeigen</link><generator>RSS for Node</generator><lastBuildDate>Tue, 11 Aug 2026 10:55:44 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/98647.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 21 Jan 2005 08:06:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Erweiterten File-Öffnen Dialog (Windows XP) anzeigen on Fri, 21 Jan 2005 08:06:27 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>unter Windows XP gibt es einen erweiterten File-Öffnen-Dialog, bei dem links noch verschiedene Buttons (z.B. Desktop, Eigene-Dateien, Netzwerk, usw.) angezeigt werden.</p>
<p>Wie kann ich diesen Dialog benutzen?</p>
<p>Ich arbeite mit Borland Builder V5 Prof.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/702081</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/702081</guid><dc:creator><![CDATA[mathab]]></dc:creator><pubDate>Fri, 21 Jan 2005 08:06:27 GMT</pubDate></item><item><title><![CDATA[Reply to Erweiterten File-Öffnen Dialog (Windows XP) anzeigen on Fri, 21 Jan 2005 08:30:54 GMT]]></title><description><![CDATA[<p>...du updatest auf Version 6 <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/702094</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/702094</guid><dc:creator><![CDATA[HEZ]]></dc:creator><pubDate>Fri, 21 Jan 2005 08:30:54 GMT</pubDate></item><item><title><![CDATA[Reply to Erweiterten File-Öffnen Dialog (Windows XP) anzeigen on Fri, 21 Jan 2005 09:38:10 GMT]]></title><description><![CDATA[<p>dass muss doch auch mit der V5 gehen, oder?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/702143</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/702143</guid><dc:creator><![CDATA[mathab]]></dc:creator><pubDate>Fri, 21 Jan 2005 09:38:10 GMT</pubDate></item><item><title><![CDATA[Reply to Erweiterten File-Öffnen Dialog (Windows XP) anzeigen on Fri, 21 Jan 2005 10:27:33 GMT]]></title><description><![CDATA[<p>ich würde sagen, du darfst einfach den folgenden style nicht setzen. (erst ab windoof 5.0 (xp?))</p>
<pre><code class="language-cpp">#define  OFN_EX_NOPLACESBAR         0x00000001
</code></pre>
<p>siehe auch <strong>GetOpenFileName</strong>.</p>
<p>für näheres siehe <a href="http://msdn.microsoft.com" rel="nofollow">msdn.microsoft.com</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/702183</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/702183</guid><dc:creator><![CDATA[Sunday]]></dc:creator><pubDate>Fri, 21 Jan 2005 10:27:33 GMT</pubDate></item><item><title><![CDATA[Reply to Erweiterten File-Öffnen Dialog (Windows XP) anzeigen on Fri, 21 Jan 2005 12:20:13 GMT]]></title><description><![CDATA[<p>Für alle die es interessiert:</p>
<p>So geht's:</p>
<pre><code>OPENFILENAME ofn;       // common dialog box structure
char szFile[260];       // buffer for file name
HWND hwnd;              // owner window
HANDLE hf;              // file handle

// Initialize OPENFILENAME
ZeroMemory(&amp;ofn, sizeof(ofn));
ofn.lStructSize = sizeof(ofn);
ofn.hwndOwner = hwnd;
ofn.lpstrFile = szFile;
//
// Set lpstrFile[0] to '\0' so that GetOpenFileName does not 
// use the contents of szFile to initialize itself.
//
ofn.lpstrFile[0] = '\0';
ofn.nMaxFile = sizeof(szFile);
ofn.lpstrFilter = &quot;All\0*.*\0Text\0*.TXT\0&quot;;
ofn.nFilterIndex = 1;
ofn.lpstrFileTitle = NULL;
ofn.nMaxFileTitle = 0;
ofn.lpstrInitialDir = NULL;
ofn.Flags = OFN_PATHMUSTEXIST | OFN_FILEMUSTEXIST;

// Display the Open dialog box. 

if (GetOpenFileName(&amp;ofn)==TRUE) 
    hf = CreateFile(ofn.lpstrFile, GENERIC_READ,
        0, (LPSECURITY_ATTRIBUTES) NULL,
        OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL,
        (HANDLE) NULL);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/702304</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/702304</guid><dc:creator><![CDATA[mathab]]></dc:creator><pubDate>Fri, 21 Jan 2005 12:20:13 GMT</pubDate></item><item><title><![CDATA[Reply to Erweiterten File-Öffnen Dialog (Windows XP) anzeigen on Tue, 03 Oct 2006 15:14:03 GMT]]></title><description><![CDATA[<p>Wie muss ich den das von mathab anwenden das es geht??? Wenn ich es in ein ButtonClick setze passiert nichts.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1148731</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1148731</guid><dc:creator><![CDATA[gastuser]]></dc:creator><pubDate>Tue, 03 Oct 2006 15:14:03 GMT</pubDate></item><item><title><![CDATA[Reply to Erweiterten File-Öffnen Dialog (Windows XP) anzeigen on Tue, 03 Oct 2006 15:40:20 GMT]]></title><description><![CDATA[<p>Die Variable <em>hwnd</em> wird nicht initialisiert, damit wird in Zeile 9 ein ungültiges Fenster-Handle zugewiesen. Setz dort <em>NULL</em> oder <em>Handle</em> statt <em>hwnd</em> ein, dann wird auch der Dialog angezeigt.</p>
<p>Und bitte nicht immer nur mit Kopieren und Einfügen arbeiten, sondern auch versuchen, zu verstehen, was der Code eigentlich macht. Beim Studieren der Funktion <em>GetOpenFileName</em> hättest du eigentlich in der Hilfe über <em>CommDlgExtendedError</em> stolpern müssen; mit letzterem kann man ermitteln, was beim Aufruf des Dialogs schiefgegangen ist.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1148740</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1148740</guid><dc:creator><![CDATA[Jansen]]></dc:creator><pubDate>Tue, 03 Oct 2006 15:40:20 GMT</pubDate></item></channel></rss>