🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Setting caption of allegedly unicode window

#799
From: Paul Kienitz
Date: Mon, 06 May 2002 23:39
7 lines
1386 bytes
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: <3CD71418.86E3AC3D@prevaluate.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!supernews.com!209.251.2.12.MISMATCH!news-xfer2.newshosting.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10297d,d12a0bef8440ad4b,start
X-Google-Attributes: gid10297d,public
X-Google-ArrivalTime: 2002-05-06 17:00:30 PST
Message-ID: <3CD71418.86E3AC3D@prevaluate.com>
Date: Mon, 06 May 2002 16:39:04 -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: Setting caption of allegedly unicode window
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 65.45.176.183
X-Trace: dnews 1020728343 65.45.176.183 (6 May 2002 16:39:03 -0700)
Lines: 8
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!supernews.com!209.251.2.12.MISMATCH!news-xfer2.newshosting.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews