🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Translation

#774
From: Maris Janis Vasilevskis
Date: Mon, 25 Mar 2002 10:00
13 lines
1551 bytes
Bernard Lepretre wrote:
> I would also like to display text in Russian alphabet in TButtons and
> TTabControls.
> Although the font CHARSET property of these components is set to
> RUSSIAN, the components don't display what I expect. Indeed they don't
> accept any entry from a Russian keyboard layout


The simplest solution - use controls really supporting Charset. I.e., TBitBtn instead of TButton.

A complex solution - convert texts into Unicode, find places of usage CreateWindowEx (really, it is CreateWindowExA), and change them into CreateWindowExW.

Mahris
Technical Details
Message-ID: <3C9EF53A.8B58CA79@myself.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!supernews.com!newsfeed.wirehub.nl!news.stealth.net!news.stealth.net!opentransit.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnews
References: <3c84a6d0$1_2@dnews> <3C9DEB1E.32B8D4BD@wanadoo.fr>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10297d,e8b69b6471c539ae
X-Google-Attributes: gid10297d,public
X-Google-ArrivalTime: 2002-03-25 02:09:22 PST
Message-ID: <3C9EF53A.8B58CA79@myself.com>
Date: Mon, 25 Mar 2002 12:00:26 +0200
From: Maris Janis Vasilevskis <mahris@myself.com>
X-Mailer: Mozilla 4.78 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internationalization
Subject: Re: Translation
References: <3c84a6d0$1_2@dnews> <3C9DEB1E.32B8D4BD@wanadoo.fr>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 195.13.227.129
X-Trace: dnews 1017050155 195.13.227.129 (25 Mar 2002 01:55:55 -0800)
Lines: 13
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!supernews.com!newsfeed.wirehub.nl!news.stealth.net!news.stealth.net!opentransit.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnews