Article View: borland.public.cppbuilder.internationalization
Article #126Re: How to translate MessageDlgPos-Dialog
From: tom
Date: Mon, 24 Jan 2005 09:33
Date: Mon, 24 Jan 2005 09:33
40 lines
2124 bytes
2124 bytes
Ok, probably this is because my system does not support the german language. It would run correctly on a german-installed-windows-operatingsystem. "tom" <tstucki@mcssoftware.ch> wrote: > >What is the matter ? >With the code I show on the botton on this Message, the dialog raises as well with english text on the buttons. (Yes,No) >Insted of German Text. (Ja, Nein) > >MessageBoxEx(Handle, "Dies ist ein Test", "Test" , >MB_TASKMODAL+MB_ICONQUESTION+MB_SETFOREGROUND+MB_YESNO+MB_DEFBUTTON2,MAKELANGID(LANG_GERMAN,SUBLANG_GERMAN)); > >regards tom > >"Wiebe Vos, Foxware" <foxware-bs@planet.nl> wrote: >>Hi Tom, >> >>Use the (API) function MessageBoxEx(). >>With the wLanguageId parameter and MAKELANGID() macro >>you can specify any language. >> >>Wiebe >> >>"tom" <tstucki@mcssoftware.ch> schreef in bericht >>news:41e68ece$1@newsgroups.borland.com... >>> >>> Hi, >>> I am using the Method MessageDlgPos often in my application. >>> >>> ret = >>> MessageDlgPos(txt1,mtConfirmation,TMsgDlgButtons()<<mbYes<<mbAll<<mbCancel,0,0,0); >>> >>> the problem is, the caption's on the buttons of the dialog appear allways >>> in english. How do I translate them? >>> >>> regards tom >>> >> >> >
Technical Details
Message-ID:
<41f4c0ce$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<41e68ece$1@newsgroups.borland.com> <41eacfcf@newsgroups.borland.com> <41f4bd2b$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10297d,75311aee60bec3 X-Google-Attributes: gid10297d,public X-Google-Language: ENGLISH,ASCII-7-bit From: "tom" <tstucki@mcssoftware.ch> Sender: "tom" <tstucki@mcssoftware.ch> Reply-To: "tom" <tstucki@mcssoftware.ch> Subject: Re: How to translate MessageDlgPos-Dialog Newsgroups: borland.public.cppbuilder.internationalization X-User-Info: 212.147.29.18 References: <41e68ece$1@newsgroups.borland.com> <41eacfcf@newsgroups.borland.com> <41f4bd2b$1@newsgroups.borland.com> NNTP-Posting-Host: 207.105.83.66 Message-ID: <41f4c0ce$1@newsgroups.borland.com> Date: 24 Jan 2005 01:33:02 -0800 X-Trace: newsgroups.borland.com 1106559182 207.105.83.66 (24 Jan 2005 01:33:02 -0800) Lines: 41 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail