From: "Steve Schafer (TeamB)" Subject: Re: How to view Unicode in a form ? Date: 03 May 2000 00:00:00 GMT Message-ID: Content-Transfer-Encoding: 7bit References: <39104abe@dnews> Content-Type: text/plain; charset=us-ascii Organization: TeamB Mime-Version: 1.0 Reply-To: pandeng@telepath.com Newsgroups: borland.public.delphi.objectpascal,borland.public.delphi.vcl.components.using On Wed, 3 May 2000 18:01:40 +0200, "Wouter Top" wrote: >Does anyone know how to display Unicode or a widestring in a form ? Use the TextOutW API function. It is identical to TextOut, except that it accepts a PWideChar string rather than a PChar string. Pass TForm.Canvas.Handle as the hDC parameter. Note that the form's canvas is not persistent, so you should use TextOutW in the form's OnPaint event, to ensure that it is called as often as necessary. -Steve