Page 1 of 1

korean language Support.

Posted: Fri Sep 01, 2006 4:51 am
by yoon jin suk
I'm using TRichViewEdit v1.9.22.

When use TRichViewEdit, I have to input korean.
TRichViewEdit supports korean language.

But one problem is shown.

The problem is .. When using English in TRichViewEdit, the character
which I typed is shown directly ..But When using korean, the character
is shown in the grey mini box first..and then shown in Editor.

I want to show korean letter in the Editor directly when typing.
How can I do that?
[/img]

Posted: Fri Sep 01, 2006 1:39 pm
by Sergey Tkachenko
This box is IME window, it is displayed by the system (by keyboard layout driver or something like this).
The same box is displayed when you type in other editors, for example Notepad, isn't it?
Probably, there are some controls that can draw content of this box directly on their canvas. And probably the standard RichEdit is one of them.
But this feature is not implemented in TRichViewEdit, and not planned, sorry.

I misunderstood my problem.

Posted: Mon Sep 04, 2006 12:46 am
by yoon jin suk
Thank you for your answer.

By the way, I misunderstood my problem.
As I mentioned above.. I uses korean language in TRichViewEdit.

When use English in Font 20 (that is..when uses not default font)
The letter's size is same as Font 20.

But When use Korean in Font 20.. The Small box's size is default font
size. That is, the small box's size and font are always same.
The result is Font 20..so it's not big problem.
But I want to make box's size and font fit the font size.

Is it also IME problem?
If not, How can I do that?

Posted: Mon Sep 04, 2006 1:15 pm
by Sergey Tkachenko
TRichViewEdit informs IME editor about the font it uses (by calling ImmSetCompositionFont function). But IME editors may ignore some or all font attributes.