🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internationalization
Article #116

Re: How to translate MessageDlgPos-Dialog

#116
From: Wiebe Vos, Foxware
Date: Sun, 16 Jan 2005 20:34
22 lines
1596 bytes
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: <41eacfcf@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!zen.net.uk!dedekind.zen.co.uk!216.196.110.149.MISMATCH!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
References: <41e68ece$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: "Wiebe Vos, Foxware" <foxware-bs@planet.nl>
Newsgroups: borland.public.cppbuilder.internationalization
References: <41e68ece$1@newsgroups.borland.com>
Subject: Re: How to translate MessageDlgPos-Dialog
Date: Sun, 16 Jan 2005 21:34:04 +0100
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 62.131.171.202
Message-ID: <41eacfcf@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1105907663 62.131.171.202 (16 Jan 2005 12:34:23 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!zen.net.uk!dedekind.zen.co.uk!216.196.110.149.MISMATCH!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