Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

richedit and tchar_w problem

Status
Not open for further replies.

goodieng

Programmer
Apr 10, 2003
2
SI
Hi,

I use Borland C++ Builder 6 and I have two problems:

1. wchar_t wc = 0x3BD;
RichEdit1->Lines->Add(wc);

RichEdit displays "957" instead of Greek letter nu.
What I do wrong?

***

2. If I do this, font for all text is changed:

RichEdit1->Font->Name="Times New Roman";

How can I change font for only one line in RichEdit.


Can someone help, please?
 
hennep know about that
go to this thread:
Thread101-449481
ther he explain how to make that (about RichEdit)

---LastCyborg---
 
char wc = 0x3BD;
RichEdit1->Lines->Add(wc);

This gives me the '1/2' symbol.

check your hex number.

tomcruz.net
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top