Article View: borland.public.cppbuilder.internationalization
Article #125Re: How to translate MessageDlgPos-Dialog
From: tom
Date: Mon, 24 Jan 2005 09:17
Date: Mon, 24 Jan 2005 09:17
35 lines
1956 bytes
1956 bytes
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:
<41f4bd2b$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!tiscali!newsfeed1.ip.tiscali.net!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<41e68ece$1@newsgroups.borland.com> <41eacfcf@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> NNTP-Posting-Host: 207.105.83.66 Message-ID: <41f4bd2b$1@newsgroups.borland.com> Date: 24 Jan 2005 01:17:31 -0800 X-Trace: newsgroups.borland.com 1106558251 207.105.83.66 (24 Jan 2005 01:17:31 -0800) Lines: 36 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!tiscali!newsfeed1.ip.tiscali.net!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail