🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #15634

MessageBoxEx & MAKELANGID

#15634
From: John Steed
Date: Tue, 24 Jun 2003 10:32
11 lines
1461 bytes
    I'm trying to use MessageBoxEx() API function:

MessageBoxEx(Handle, "Test", "Opozorilo", MB_YESNO | MB_ICONINFORMATION,
MAKELANGID(LANG_SLOVENIAN, SUBLANG_DEFAULT));

    But button captions "Yes" and "No" are allways in English, no matter
which language I use (Italian...). Is there some other way to show an dialog
with "custom" button captions? Can someone, please, teach me how to modify
hard coded button captions in Dialogs unit? I've done this before in Delphi,
but I do not know how to do it in BCB6.
Technical Details
Message-ID: <3ef8289b$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!border3.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,87137ee50d7b6e88,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-06-24 03:45:42 PST
From: "John Steed" <my@spam.org>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: MessageBoxEx & MAKELANGID
Date: Tue, 24 Jun 2003 12:32:43 +0200
Lines: 13
Organization: MI6
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 193.138.1.66
Message-ID: <3ef8289b$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1056450715 193.138.1.66 (24 Jun 2003 03:31:55 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!border3.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail