<?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[Erweiterung von SHBrowseForFolder]]></title><description><![CDATA[<p>Hallo zusammen,<br />
ich benötige einen Dialog, in dem man sowohl Verzeichnisse als auch Dateien auswählen kann. Das hab ich auch hingekriegt mit dem ulFlag BIF_BROWSEINCLUDEFILES im BROWSEINFO Objekt der SHBrowseForFolder Funktion.</p>
<p>Was mit jetzt noch fehlt, wäre ein Feld, in das ich einen Pfad einfügen kann, welcher im Fenster mit der Baumstruktur dann übernommen wird. So wie das Adress-Feld im Windows-Explorer. In der Baumansicht wird dann der eingefügte Pfad geöffnet oder zumindest selektiert.</p>
<p>Ich habe bis jetzt leider keine Möglichkeit gefunden, den Dialog von SHBrowseForFolder dahingehend zu modifizieren.</p>
<p>Weiß jemand ob und wie das geht? Oder gibt es eine andere Möglichkeit außer SHBrowseForFolder?</p>
<p>Vielen Dank für eure Hilfe,<br />
markus</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/224213/erweiterung-von-shbrowseforfolder</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Apr 2026 20:04:37 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/224213.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 07 Oct 2008 07:13:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Erweiterung von SHBrowseForFolder on Tue, 07 Oct 2008 07:13:30 GMT]]></title><description><![CDATA[<p>Hallo zusammen,<br />
ich benötige einen Dialog, in dem man sowohl Verzeichnisse als auch Dateien auswählen kann. Das hab ich auch hingekriegt mit dem ulFlag BIF_BROWSEINCLUDEFILES im BROWSEINFO Objekt der SHBrowseForFolder Funktion.</p>
<p>Was mit jetzt noch fehlt, wäre ein Feld, in das ich einen Pfad einfügen kann, welcher im Fenster mit der Baumstruktur dann übernommen wird. So wie das Adress-Feld im Windows-Explorer. In der Baumansicht wird dann der eingefügte Pfad geöffnet oder zumindest selektiert.</p>
<p>Ich habe bis jetzt leider keine Möglichkeit gefunden, den Dialog von SHBrowseForFolder dahingehend zu modifizieren.</p>
<p>Weiß jemand ob und wie das geht? Oder gibt es eine andere Möglichkeit außer SHBrowseForFolder?</p>
<p>Vielen Dank für eure Hilfe,<br />
markus</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1594605</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1594605</guid><dc:creator><![CDATA[56cent]]></dc:creator><pubDate>Tue, 07 Oct 2008 07:13:30 GMT</pubDate></item><item><title><![CDATA[Reply to Erweiterung von SHBrowseForFolder on Tue, 07 Oct 2008 07:39:27 GMT]]></title><description><![CDATA[<p>Ich vermute mal, mit SHBrowseForFolder kommst du da nicht weit. Da müsstest du dir schon was eigenes basteln...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1594611</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1594611</guid><dc:creator><![CDATA[_matze]]></dc:creator><pubDate>Tue, 07 Oct 2008 07:39:27 GMT</pubDate></item><item><title><![CDATA[Reply to Erweiterung von SHBrowseForFolder on Tue, 07 Oct 2008 07:42:53 GMT]]></title><description><![CDATA[<p>Ok, krieg ich irgendwo ein Panel her, welches mein Filesystem als Baum anzeigt, oder muss ich mir das auch selbst basteln?</p>
<p>Danke<br />
markus</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1594614</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1594614</guid><dc:creator><![CDATA[56cent]]></dc:creator><pubDate>Tue, 07 Oct 2008 07:42:53 GMT</pubDate></item><item><title><![CDATA[Reply to Erweiterung von SHBrowseForFolder on Tue, 07 Oct 2008 08:18:39 GMT]]></title><description><![CDATA[<p>Such mal nach CTreeView (MFC) bzw. CreateWindowEx mit WC_TREEVIEW.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1594627</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1594627</guid><dc:creator><![CDATA[_matze]]></dc:creator><pubDate>Tue, 07 Oct 2008 08:18:39 GMT</pubDate></item><item><title><![CDATA[Reply to Erweiterung von SHBrowseForFolder on Tue, 07 Oct 2008 08:44:31 GMT]]></title><description><![CDATA[<p>Hast Du schon mal mit BIF_EDITBOX experimentiert?<br />
Evtl. kannst Du über einen simplen Subclass dieses Edit control nutzen. Mit BFFM_SETSELECTION kann man ja gezielt etwas auswählen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1594634</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1594634</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Tue, 07 Oct 2008 08:44:31 GMT</pubDate></item><item><title><![CDATA[Reply to Erweiterung von SHBrowseForFolder on Tue, 07 Oct 2008 15:58:52 GMT]]></title><description><![CDATA[<p>Hallo,<br />
erstmal vielen Dank für eure Tipps.<br />
Etwas selbst basteln wird mir zu aufwendig.<br />
Beim zweiten Vorschlag bin ich auch nicht weiter gekommen, weil ich nicht weiß, wie ich eine Änderung in der Editbox (oder die Enter-Taste) abfangen kann, um anschließend den eingegebnen Pfad in der Baumasicht zu selektieren.</p>
<p>Wenn noch jemand weiter weiß, bin ich dankbar, ansonsten muss ich mir was anderes überlegen.</p>
<p>Grüße<br />
markus</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1594944</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1594944</guid><dc:creator><![CDATA[56cent]]></dc:creator><pubDate>Tue, 07 Oct 2008 15:58:52 GMT</pubDate></item><item><title><![CDATA[Reply to Erweiterung von SHBrowseForFolder on Tue, 07 Oct 2008 16:28:42 GMT]]></title><description><![CDATA[<p>56cent schrieb:</p>
<blockquote>
<p>Beim zweiten Vorschlag bin ich auch nicht weiter gekommen, weil ich nicht weiß, wie ich eine Änderung in der Editbox (oder die Enter-Taste) abfangen kann, um anschließend den eingegebnen Pfad in der Baumasicht zu selektieren.</p>
</blockquote>
<p><a href="http://blog.m-ri.de/index.php/2008/09/21/die-return-taste-in-dialogen-eine-unendliche-geschichte/" rel="nofollow">http://blog.m-ri.de/index.php/2008/09/21/die-return-taste-in-dialogen-eine-unendliche-geschichte/</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1594965</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1594965</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Tue, 07 Oct 2008 16:28:42 GMT</pubDate></item><item><title><![CDATA[Reply to Erweiterung von SHBrowseForFolder on Thu, 09 Oct 2008 13:56:13 GMT]]></title><description><![CDATA[<p>Ok, nochmals danke, aber das ist mir zu heavy :-). Da steig ich nicht ganz durch.<br />
Wenn ich das richtig verstanden habe, bräuchte ich für</p>
<pre><code>HWND hWndEdit = GetDlgItem(hDlg,IDC_EDIT1);
</code></pre>
<p>das Handle auf den Dialog (von SHBrowseForFolder) und den Identifier der Editbox. Woher bekomme ich die beiden Parameter?</p>
<p>Grüße<br />
markus</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1596315</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1596315</guid><dc:creator><![CDATA[56cent]]></dc:creator><pubDate>Thu, 09 Oct 2008 13:56:13 GMT</pubDate></item><item><title><![CDATA[Reply to Erweiterung von SHBrowseForFolder on Thu, 09 Oct 2008 15:48:51 GMT]]></title><description><![CDATA[<p>Mit Spy++. Die IDs sind konstant.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1596418</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1596418</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Thu, 09 Oct 2008 15:48:51 GMT</pubDate></item><item><title><![CDATA[Reply to Erweiterung von SHBrowseForFolder on Thu, 09 Oct 2008 16:13:59 GMT]]></title><description><![CDATA[<p>Sorry, aber sowohl der Dialog als auch die Editbox haben bei jedem Aufruf laut Spy verschiedene Handles. Ich komme leider nicht weiter...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1596450</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1596450</guid><dc:creator><![CDATA[56cent]]></dc:creator><pubDate>Thu, 09 Oct 2008 16:13:59 GMT</pubDate></item><item><title><![CDATA[Reply to Erweiterung von SHBrowseForFolder on Thu, 09 Oct 2008 16:43:04 GMT]]></title><description><![CDATA[<p>Es geht nicht um die Handles, es geht um die IDs!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1596469</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1596469</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Thu, 09 Oct 2008 16:43:04 GMT</pubDate></item><item><title><![CDATA[Reply to Erweiterung von SHBrowseForFolder on Fri, 10 Oct 2008 09:13:29 GMT]]></title><description><![CDATA[<p>Ok, nach vielem Rumprobieren hab ich es hingekriegt.<br />
Das Subclassing mache ich nachdem der Dialog initialisiert wurde (BFFM_INITIALIZED) in der BrowseCallbackProc, die ich im BROWSEINFO struct der SHBrowseForFolder angeben kann. Weil nur da kenne ich das Handle des Dialogs.</p>
<p>Es war ein Kampf aber jetzt funktioniert es.<br />
Danke Martin.</p>
<p>Grüße<br />
markus</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1596757</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1596757</guid><dc:creator><![CDATA[56cent]]></dc:creator><pubDate>Fri, 10 Oct 2008 09:13:29 GMT</pubDate></item><item><title><![CDATA[Reply to Erweiterung von SHBrowseForFolder on Fri, 10 Oct 2008 09:52:48 GMT]]></title><description><![CDATA[<p>56cent schrieb:</p>
<blockquote>
<p>Es war ein Kampf aber jetzt funktioniert es.<br />
Danke Martin.</p>
</blockquote>
<p>Gern geschehen. Nur so lernt man!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1596790</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1596790</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Fri, 10 Oct 2008 09:52:48 GMT</pubDate></item></channel></rss>