<?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-Eigenschaftsdialog (-&gt;Explorer)]]></title><description><![CDATA[<p>Wenn man im Explorer auf eine Datei rechtsklickt, und dann Eigenschaften wählt, kommt der entsprechende Dialog. Wie kann ich diesen programmiertechnisch für eine bestimmte Datei aufrufen?</p>
<p>Ich mein nicht das echte Windows-Kontextmenü, sondern das echte Eigenschaftsdialog, wo Größen wie Versionsnummer, Dateiname/größe, etc. auftauchen... Das kann doch nicht so schwer sein!?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/15890/datei-eigenschaftsdialog-explorer</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Apr 2026 10:54:30 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/15890.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 01 Jan 2003 12:17:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Datei-Eigenschaftsdialog (-&gt;Explorer) on Wed, 01 Jan 2003 12:17:00 GMT]]></title><description><![CDATA[<p>Wenn man im Explorer auf eine Datei rechtsklickt, und dann Eigenschaften wählt, kommt der entsprechende Dialog. Wie kann ich diesen programmiertechnisch für eine bestimmte Datei aufrufen?</p>
<p>Ich mein nicht das echte Windows-Kontextmenü, sondern das echte Eigenschaftsdialog, wo Größen wie Versionsnummer, Dateiname/größe, etc. auftauchen... Das kann doch nicht so schwer sein!?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/86584</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/86584</guid><dc:creator><![CDATA[win-api&#x27;er]]></dc:creator><pubDate>Wed, 01 Jan 2003 12:17:00 GMT</pubDate></item><item><title><![CDATA[Reply to Datei-Eigenschaftsdialog (-&gt;Explorer) on Wed, 01 Jan 2003 14:54:00 GMT]]></title><description><![CDATA[<p>Ich glaube, da gibt es keinen direkten Befehl. Was du machen kannst, ist per SHGetFileInfo die Infos zu bekommen und dann die DLL zu laden, in der sich der Dialog befindet. Oder mach dir selber einen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/86585</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/86585</guid><dc:creator><![CDATA[WebFritzi]]></dc:creator><pubDate>Wed, 01 Jan 2003 14:54:00 GMT</pubDate></item><item><title><![CDATA[Reply to Datei-Eigenschaftsdialog (-&gt;Explorer) on Wed, 01 Jan 2003 18:30:00 GMT]]></title><description><![CDATA[<blockquote>
<p>Ich glaube, da gibt es keinen direkten Befehl.</p>
</blockquote>
<p>Einen Befehl nicht, aber eine Funktion: ShellExecuteEx.</p>
<pre><code class="language-cpp">BOOL FileProperties(HWND hWndParent, LPCTSTR lpFileName)
{
  SHELLEXECUTEINFO sei;

    ZeroMemory((PVOID)&amp;sei, sizeof(sei));

    sei.cbSize     = sizeof(sei);
    sei.fMask      = SEE_MASK_INVOKEIDLIST;
    sei.hwnd       = hWndParent;
    sei.lpVerb     = TEXT(&quot;properties&quot;);
    sei.lpFile     = lpFileName;
    sei.nShow      = SW_SHOW;

  return(ShellExecuteEx(&amp;sei));
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/86586</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/86586</guid><dc:creator><![CDATA[-King-]]></dc:creator><pubDate>Wed, 01 Jan 2003 18:30:00 GMT</pubDate></item><item><title><![CDATA[Reply to Datei-Eigenschaftsdialog (-&gt;Explorer) on Wed, 01 Jan 2003 18:49:00 GMT]]></title><description><![CDATA[<p>-King- is King!<br />
Hm, das hatte ich mir in der SDK-Hilfe vorhin auch angeschaut, hab's wohl aber zu schnell überflogen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/86587</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/86587</guid><dc:creator><![CDATA[WebFritzi]]></dc:creator><pubDate>Wed, 01 Jan 2003 18:49:00 GMT</pubDate></item><item><title><![CDATA[Reply to Datei-Eigenschaftsdialog (-&gt;Explorer) on Sat, 04 Jan 2003 00:18:00 GMT]]></title><description><![CDATA[<p>habs jetzt im bcb als ereignisbehandlungsroutine so:</p>
<p>HWND hWndParent = MainForm;<br />
LPCTSTR lpFileName = &quot;C:\Eigene Dateien\test.txt&quot;;<br />
SHELLEXECUTEINFO sei;</p>
<p>ZeroMemory( ( PVOID )&amp;sei, sizeof( sei ) );</p>
<p>sei.cbSize = sizeof( sei );<br />
sei.fMask = SEE_MASK_INVOKEIDLIST;<br />
sei.hwnd = hWndParent;<br />
sei.lpVerb = TEXT( &quot;properties&quot; );<br />
sei.lpFile = lpFileName;<br />
sei.nShow = SW_SHOW;</p>
<p>ShellExecuteEx( &amp;sei );</p>
<p>es kommen keine fehler, jedoch wird auch NICHTS geöffnet oder jegliche reaktion gezeigt; Wieso? (btw: die datei existiert, keine sorge...)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/86588</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/86588</guid><dc:creator><![CDATA[Win-Api]]></dc:creator><pubDate>Sat, 04 Jan 2003 00:18:00 GMT</pubDate></item><item><title><![CDATA[Reply to Datei-Eigenschaftsdialog (-&gt;Explorer) on Sat, 04 Jan 2003 00:38:00 GMT]]></title><description><![CDATA[<p>weil der dateiname falsch ist.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/86589</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/86589</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Sat, 04 Jan 2003 00:38:00 GMT</pubDate></item><item><title><![CDATA[Reply to Datei-Eigenschaftsdialog (-&gt;Explorer) on Sat, 04 Jan 2003 01:51:00 GMT]]></title><description><![CDATA[<p>@&lt;Win-Api&gt;<br />
Erstens solltest du dich bedanken bei -King-, und zweitens wird ein Backslash in konstanten String-Ausdrücken als \\ geschrieben.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/86590</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/86590</guid><dc:creator><![CDATA[WebFritzi]]></dc:creator><pubDate>Sat, 04 Jan 2003 01:51:00 GMT</pubDate></item><item><title><![CDATA[Reply to Datei-Eigenschaftsdialog (-&gt;Explorer) on Sat, 04 Jan 2003 11:04:00 GMT]]></title><description><![CDATA[<p>schnurre. schnurre. danke. danke.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/86591</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/86591</guid><dc:creator><![CDATA[fkkf]]></dc:creator><pubDate>Sat, 04 Jan 2003 11:04:00 GMT</pubDate></item><item><title><![CDATA[Reply to Datei-Eigenschaftsdialog (-&gt;Explorer) on Sat, 04 Jan 2003 20:53:00 GMT]]></title><description><![CDATA[<p>Hey nice, nach dem habe ich gerade auch gesucht!<br />
DANKE AN KING!!!!!!!!!!!! :p<br />
man sollte sich sofort bedanken</p>
]]></description><link>https://www.c-plusplus.net/forum/post/86592</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/86592</guid><dc:creator><![CDATA[ChrisK]]></dc:creator><pubDate>Sat, 04 Jan 2003 20:53:00 GMT</pubDate></item><item><title><![CDATA[Reply to Datei-Eigenschaftsdialog (-&gt;Explorer) on Tue, 19 Jul 2005 14:03:29 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>habe obige Routine eingebaut u. mit zwei FileListBoxen kombiniert. Klicke ich also in eines dieser FileListBoxen u. aktiviere damit ein Kontextmenü, über das ich &quot;Eigenschaften&quot; wählen kann, so wird folgendes aufgerufen:</p>
<pre><code>SHELLEXECUTEINFO sei;
   ZeroMemory(&amp;sei, sizeof(SHELLEXECUTEINFO)); 
   sei.cbSize = sizeof(sei); 
   sei.fMask = SEE_MASK_INVOKEIDLIST; 
   sei.hwnd = Handle; 
   sei.lpVerb = &quot;properties&quot;; 
   if (Form1-&gt;KontextMenu1-&gt;PopupComponent-&gt;Name==&quot;FileListBox1&quot;)
     sei.lpFile = (Form1-&gt;FileListBox1-&gt;FileName).c_str();
   if (Form1-&gt;KontextMenu1-&gt;PopupComponent-&gt;Name==&quot;FileListBox2&quot;)
     sei.lpFile = (Form1-&gt;FileListBox2-&gt;FileName).c_str();
   ShellExecuteEx(&amp;sei);
</code></pre>
<p>Problem:<br />
Bei manchen Dateinamen funktioniert das nicht (z.B. &quot;BSDFS01.dot&quot;) u. es kommt eine Fehlermeldung wie z.B: &quot;FileListBox2 konnte nicht gefunden werden...&quot;, obwohl ich in die FileListBox1 geklickt habe.</p>
<p>Wer kann helfen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/834408</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/834408</guid><dc:creator><![CDATA[williman]]></dc:creator><pubDate>Tue, 19 Jul 2005 14:03:29 GMT</pubDate></item></channel></rss>