<?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[Common Dialogs in anderer Sprache!?]]></title><description><![CDATA[<p>Hi,<br />
ich habe mir schon die postings bezueglich mehrsprachiger entwicklung von dialogen angesehen. Meine Frage ist: Wenn ich in meiner Anwendung einen gewoehnlichen File-Dialog erstelle, dann sind die Button-Beschriftungen auf Deutsch. Ich nehme an, dass sich das nach der Spracheinstellung des Systems richtet?!?</p>
<p>Wie schaffe ich es die Controlelement Beschriftungen von Common Dialogs auf eine andere Sprache zu setzen?</p>
<p>danke.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/72402/common-dialogs-in-anderer-sprache</link><generator>RSS for Node</generator><lastBuildDate>Tue, 28 Apr 2026 05:33:20 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/72402.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 28 Apr 2004 11:57:37 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Common Dialogs in anderer Sprache!? on Wed, 28 Apr 2004 11:57:37 GMT]]></title><description><![CDATA[<p>Hi,<br />
ich habe mir schon die postings bezueglich mehrsprachiger entwicklung von dialogen angesehen. Meine Frage ist: Wenn ich in meiner Anwendung einen gewoehnlichen File-Dialog erstelle, dann sind die Button-Beschriftungen auf Deutsch. Ich nehme an, dass sich das nach der Spracheinstellung des Systems richtet?!?</p>
<p>Wie schaffe ich es die Controlelement Beschriftungen von Common Dialogs auf eine andere Sprache zu setzen?</p>
<p>danke.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/510376</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/510376</guid><dc:creator><![CDATA[peperonee]]></dc:creator><pubDate>Wed, 28 Apr 2004 11:57:37 GMT</pubDate></item><item><title><![CDATA[Reply to Common Dialogs in anderer Sprache!? on Wed, 28 Apr 2004 12:30:58 GMT]]></title><description><![CDATA[<p>Installiere ein Windows mit anderer Sprache...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/510399</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/510399</guid><dc:creator><![CDATA[estartu]]></dc:creator><pubDate>Wed, 28 Apr 2004 12:30:58 GMT</pubDate></item><item><title><![CDATA[Reply to Common Dialogs in anderer Sprache!? on Wed, 28 Apr 2004 12:37:42 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>um z.B. den FileDialog in beliebigen Sprachen anzeigen zu können, musst du ihn wohl oder übel komplett in deine Resource kopieren. Das ist auch deshalb sinnvoll, weil ja der Dialog bei anderen Sprachen u.U. breitere Buttons braucht. Du kannst ihn dann wie alle anderen Dialog übersetzen (z.B. mit PASSOLO)</p>
<p>In der MSDN gibt's einen Artikel &quot;How to Show a Custom Common Dialog using CFileDialog&quot; da steht wie's geht.</p>
<p>Ich finde den Artikel aber nicht mehr im Internet, deshalb kopiere ich ihn kurz mal:</p>
<p>If an application specifies a custom dialog box template for a CFileDialog object and calls the DoModal() member function, DoModal() may return immediately without displaying the dialog box.</p>
<p>Verify that you assign the correct dialog box template and application instance handle to the CFileDialog data members m_ofn.lpTemplateName and m_ofn.hInstance, respectively. Verify that each control in your customized dialog box template is valid and that the dialog box resource is compiled into the .RES file. If either data member is incorrect or if it is unable to create a control in the dialog box, the DoModal() member function returns immediately without displaying the dialog box.</p>
<p>The Microsoft Foundation Classes library defines a CFileDialog class that encapsulates the OPENFILENAME structure and the GetOpenFileName() and GetSaveFileName() functions of the Microsoft Windows application programming interface (API). For more information about this class, please refer to Technical Note 13 (TN013.TXT) which the C/C++ version 7.0 Setup program installs, by default, into the C:\C700\MFC\DOC directory. For more information about the Common Dialog Boxes library COMMDLG.DLL, please refer to Chapter 4 of the Microsoft Windows Software Development Kit (SDK) &quot;Programmer's Reference, Volume 4: Resources&quot; manual for version 3.1.</p>
<p>To modify the dialog box that CFileDialog displays, perform the following five steps:</p>
<p>Modify the dialog box template for the CFileDialog dialog box by changing the FILEOPEN.DLG resource. By default, this file is located in the C:\MSVC\SAMPLES\COMMDLG or C:\WINDEV\SAMPLES\COMMDLG directory. Be sure to include the &lt;DLGS.H&gt; file in your RESOURCE.H file and use the predefined controls in the common dialog box template.</p>
<p>Initialize the CFileDialog with the OFN_ENABLETEMPLATE flag, as follows:</p>
<p>CFileDialog fileDialog(TRUE, szFileDialogExt, NULL,<br />
OFN_HIDEREADONLY | OFN_ENABLETEMPLATE, szFileDialogFilter);</p>
<p>Assign the m_ofn.lpTemplateName member of the CFileDialog object to the dialog box template name in the FILEOPEN.DLG file modified in Step 1 above. For example:</p>
<p>fileDialog.m_ofn.lpTemplateName = &quot;MYFILEOPEN&quot;;</p>
<p>Assign the m_ofn.hInstance member of the CFileDialog object to the value of the current instance of your application, as follows:</p>
<p>fileDialog.m_ofn.hInstance = AfxGetInstanceHandle();</p>
<p>Call the DoModal() member function of the CFileDialog class, as follows:</p>
<p>if (fileDialog.DoModal() == IDOK)<br />
ReadFile(fileDialog.GetPathName());</p>
]]></description><link>https://www.c-plusplus.net/forum/post/510405</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/510405</guid><dc:creator><![CDATA[Uwe Philipps]]></dc:creator><pubDate>Wed, 28 Apr 2004 12:37:42 GMT</pubDate></item></channel></rss>