🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Setting caption of allegedly unicode window

#800
From: FL
Date: Tue, 07 May 2002 10:20
17 lines
1686 bytes
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.

Francisco


Paul Kienitz wrote:
> 
> Okay, I created my window class with RegisterClassW, I created the
> handle with CreateWindowExW (I replaced the stock VCL CreateWnd function
> in order to do these things with a form), and I set the caption to a
> unicode string with SetWindowTextW... but the caption is still getting
> truncated to ANSI.  (This is under Windows 2000.)  Why would such a
> thing happen?  What else does it take to make a form into a unicode
> window?  I thought using RegisterClassW was what makes a window unicode.
Technical Details
Message-ID: <3CD7AA6F.C4176D61@hotmail.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!supernews.com!telocity-west!TELOCITY!fr.clara.net!heighliner.fr.clara.net!news-x2.support.nl!skynet.be!skynet.be!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews
References: <3CD71418.86E3AC3D@prevaluate.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 03:22:06 PST
Message-ID: <3CD7AA6F.C4176D61@hotmail.com>
Date: Tue, 07 May 2002 18:20:31 +0800
From: FL <frleong@hotmail.com>
X-Mailer: Mozilla 4.79 [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>
Content-Type: text/plain; charset=big5
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 202.175.98.105
X-Trace: dnews 1020766783 202.175.98.105 (7 May 2002 03:19:43 -0700)
Lines: 17
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!supernews.com!telocity-west!TELOCITY!fr.clara.net!heighliner.fr.clara.net!news-x2.support.nl!skynet.be!skynet.be!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews