Re: Unicode controls for VB (Programming)(VB)(OLE)(WinNT)

From: Michael \(michka\) Kaplan (michka@trigeminal.com)
Date: Wed Jul 19 2000 - 05:56:46 EDT


From: <Marco.Cimarosti@icl.com>
> Visual Basic (6.0 for 32-bit Windows Development, under Windows NT) is
> capable of handling Unicode strings, internally, but I found no way to
> display an arbitrary Unicode text in any of the built-in controls
(buttons,
> text boxes, combos, etc.).

True.

> Even if I set the control's font to an Unicode-enabled font (e.g. Arial
> Unicode MS), the best I can do is to convert the Unicode string to a
> *specific* Windows codepage before sending it to the control -- thus
loosing
> any Unicode character not in *that* codepage.

Also true...

> Am I doing anything wrong?

 No, you are not. Perhaps you could claim they are? :-)

> If not, can anyone suggest third party OLE controls for Visual Basic that
> can displaying arbitrary Unicode text (i.e., are "codepage-free")?

There are several third party options... InaGrid has a grid control and an
edit control, FmsInc has a richedit 3.0 control, I have an owner draw edit
control that supports Uniscribe coming out in a book soon, the MS Forms
controls will support some things, the MSHFlexGrid (don't forget the "H"
there!) supports viewing, and there are others out there.

> I can issue more details, sample code, screen captures, etc. on demand.

Not needed, its a very known issue. :-)

michka



This archive was generated by hypermail 2.1.2 : Tue Jul 10 2001 - 17:21:06 EDT