<?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[File Open dialog spezifizieren]]></title><description><![CDATA[<p>Hallo eine Frage wenn sich das Öffen dialog öffnet kann man den Dateityp auswäjlen ich möchte es aber nicht sondern möchte das Nur der Dateityp makro file*.Mkr sich öffnet und man nichts auswählen kann (sihe Bild) <a href="http://www.bilder-hoster.net/?img=oeffnen134ca.jpg" rel="nofollow"></a><a href="http://www.bilder-hoster.net/tn/oeffnen134ca.jpg" rel="nofollow">http://www.bilder-hoster.net/tn/oeffnen134ca.jpg</a><br />
wie kann ich dies machen</p>
<pre><code class="language-cpp">BOOL CALLBACK MakroBox (HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
{
    switch (message)
    {
        case WM_INITDIALOG :
        {
            return TRUE;
        };
        case WM_COMMAND :
        {
            switch(LOWORD(wParam))
            {
                case IDOK :

                case ID_FILE_OPEN :
                {
                (!GetOpenFileName(&amp;DateiMenue));
                break;
                };

                case IDCANCEL :
                {
                    EndDialog(hDlg,0);
                    return TRUE;
                };
            };
        };
    };
    return FALSE;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/154819/file-open-dialog-spezifizieren</link><generator>RSS for Node</generator><lastBuildDate>Fri, 24 Jul 2026 19:47:48 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/154819.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 31 Jul 2006 08:26:10 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to File Open dialog spezifizieren on Mon, 31 Jul 2006 08:26:10 GMT]]></title><description><![CDATA[<p>Hallo eine Frage wenn sich das Öffen dialog öffnet kann man den Dateityp auswäjlen ich möchte es aber nicht sondern möchte das Nur der Dateityp makro file*.Mkr sich öffnet und man nichts auswählen kann (sihe Bild) <a href="http://www.bilder-hoster.net/?img=oeffnen134ca.jpg" rel="nofollow"></a><a href="http://www.bilder-hoster.net/tn/oeffnen134ca.jpg" rel="nofollow">http://www.bilder-hoster.net/tn/oeffnen134ca.jpg</a><br />
wie kann ich dies machen</p>
<pre><code class="language-cpp">BOOL CALLBACK MakroBox (HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
{
    switch (message)
    {
        case WM_INITDIALOG :
        {
            return TRUE;
        };
        case WM_COMMAND :
        {
            switch(LOWORD(wParam))
            {
                case IDOK :

                case ID_FILE_OPEN :
                {
                (!GetOpenFileName(&amp;DateiMenue));
                break;
                };

                case IDCANCEL :
                {
                    EndDialog(hDlg,0);
                    return TRUE;
                };
            };
        };
    };
    return FALSE;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1107528</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1107528</guid><dc:creator><![CDATA[Blaccrow]]></dc:creator><pubDate>Mon, 31 Jul 2006 08:26:10 GMT</pubDate></item><item><title><![CDATA[Reply to File Open dialog spezifizieren on Mon, 31 Jul 2006 08:52:27 GMT]]></title><description><![CDATA[<p>hi,</p>
<p>ich hab nicht so ganz verstanden, was du meinst. Ich gehe einfach mal davon aus, dass du nur .mkr Dateien angezeigt haben willst. Für den FAll heißt die Lösung:</p>
<pre><code class="language-cpp">CFileDialog FileDialog(true, NULL, NULL, OFN_HIDEREADONLY, 
			  &quot;MAKRO-Dateien (.mkr)|*.mkr||&quot;
			  , NULL);

FileDialog.m_pOFN-&gt;lpstrTitle = &quot;Makro laden...&quot;;

if(FileDialog.DoModal() == IDOK)
{
   // hier lädst du die Datei
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1107561</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1107561</guid><dc:creator><![CDATA[ESS_CB]]></dc:creator><pubDate>Mon, 31 Jul 2006 08:52:27 GMT</pubDate></item><item><title><![CDATA[Reply to File Open dialog spezifizieren on Mon, 31 Jul 2006 10:19:44 GMT]]></title><description><![CDATA[<p>ESS_CB schrieb:</p>
<blockquote>
<p>hi,</p>
<p>ich hab nicht so ganz verstanden, was du meinst. Ich gehe einfach mal davon aus, dass du nur .mkr Dateien angezeigt haben willst. Für den FAll heißt die Lösung:</p>
<pre><code class="language-cpp">CFileDialog FileDialog(true, NULL, NULL, OFN_HIDEREADONLY, 
			  &quot;MAKRO-Dateien (.mkr)|*.mkr||&quot;
			  , NULL);

FileDialog.m_pOFN-&gt;lpstrTitle = &quot;Makro laden...&quot;;

if(FileDialog.DoModal() == IDOK)
{
   // hier lädst du die Datei
}
</code></pre>
</blockquote>
<p>danke und wo füge ich das bei mir ein in meinen quelltext ein?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1107610</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1107610</guid><dc:creator><![CDATA[Blaccrow]]></dc:creator><pubDate>Mon, 31 Jul 2006 10:19:44 GMT</pubDate></item><item><title><![CDATA[Reply to File Open dialog spezifizieren on Mon, 31 Jul 2006 11:43:14 GMT]]></title><description><![CDATA[<p>z.B. bei der Behandlungsmethode für den Menüeintrag Datei-&gt;Neu.</p>
<p>oder eigentlich auch überall sonst, ist glaub egal <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1107693</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1107693</guid><dc:creator><![CDATA[ESS_CB]]></dc:creator><pubDate>Mon, 31 Jul 2006 11:43:14 GMT</pubDate></item></channel></rss>