🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Setting caption of allegedly unicode window

#801
From: Paul Kienitz
Date: Tue, 07 May 2002 20:17
17 lines
1682 bytes
FL wrote:

> Have a look at the code at:
> http://home.ccci.org/wolbrink/tntmpd/delphi_unicode_controls_project.htm
>
> for creating Unicode controls that are compatible with VCL.

Thanks for that pointer.  It turns out I had already downloaded that stuff but
hadn't dug into it.

I wish people like Bill would document these things... it turns out that what
makes IsWindowUnicode return true, is whether you set the window procedure
with SetWindowLongA or SetWindowLongW.  I looked for that fact for several
days and nowhere did anyone explain it.

Now I just have to go through the VCL source and find all the cases where it
calls DefWindowProcA directly...
Technical Details
Message-ID: <3CD8366B.CD829C85@prevaluate.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!supernews.com!news.tele.dk!small.news.tele.dk!193.174.75.178!news-fra1.dfn.de!fu-berlin.de!news.boerde.de!nntp.cs.uni-magdeburg.de!PeerFeed.KWeb.on.ca!dnews
References: <3CD71418.86E3AC3D@prevaluate.com> <3CD7AA6F.C4176D61@hotmail.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10297d,d12a0bef8440ad4b
X-Google-Attributes: gid10297d,public
X-Google-ArrivalTime: 2002-05-07 13:18:16 PST
Message-ID: <3CD8366B.CD829C85@prevaluate.com>
Date: Tue, 07 May 2002 13:17:48 -0700
From: Paul Kienitz <pkienitz@prevaluate.com>
X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internationalization
Subject: Re: Setting caption of allegedly unicode window
References: <3CD71418.86E3AC3D@prevaluate.com> <3CD7AA6F.C4176D61@hotmail.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 65.45.176.183
X-Trace: dnews 1020802667 65.45.176.183 (7 May 2002 13:17:47 -0700)
Lines: 18
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!supernews.com!news.tele.dk!small.news.tele.dk!193.174.75.178!news-fra1.dfn.de!fu-berlin.de!news.boerde.de!nntp.cs.uni-magdeburg.de!PeerFeed.KWeb.on.ca!dnews