Originally posted by: Jack Hudson
Just wondering if anybody has some examples of constructing simple, but absolutly positioned tables in an rtf document.
Thanks,
Jack
ReplyOriginally posted by: Radek Strugalski
Since long time I was trying to port my editor code to use
RichEdit 2.0. But there is still the same problem:
RichEdit 2.0 somehow converts locale characters like,
crossed out "l" or "a" and "e" with hook. I was trying
everything I know, and still only RichEdit 1.0 works fine.
The same problem appears under WordPad (For NT). IMPORTANT
this only happens when using English version of operating
system (but still RichEdit 1.0 works correctly).
Did somebody of you find a workaround to this problem?
Originally posted by: Nnamdi
Hi, I need to do this in rich edit view, how would i do this?
Thanks.
ReplyOriginally posted by: Cristian Tache
Does anybody know why CRichEditCtrl::GetLine() returns a '?' char instead of the real char code for letters with cedilla for ex, when you use another code page and locale than English?
in the SF_RTF streamed out data it looks like:
{formatting...}.... Some text \'ba\'fe other text ...
and in the data returned by GetLine()
.... Some text ?? other text
GetWindowText() returns the same thing although in a CEdit in the same conditions (code page and locale) GetWindowText() returns the text correctly.
Thanks!
ReplyOriginally posted by: Tache Cristian
Does anybody know why CRichEditCtrl::GetLine() returns a '?' char instead of the real char code for letters with cedilla for ex, when you use another code page and locale than English?
in the SF_RTF streamed out data it looks like:
{formatting...}.... Some text \'ba\'fe other text ...
and in the data returned by GetLine()
.... Some text ?? other text
GetWindowText() returns the same thing although in a CEdit in the same conditions (code page and locale) GetWindowText() returns the text correctly.
Thanks!
ReplyOriginally posted by: Robert E. O'Neil
From the April 2000 MSDN:
Platform SDK: Windows User Interface
Creating a Rich Edit Control
To create a rich edit control, call the CreateWindowEx function, specifying the rich edit window class. If you are using Rich Edit 1.0 (Riched32.dll), specify RichEdit for the window class parameter. If you are using Rich Edit 2.0 or later (Riched20.dll), specify RICHEDIT_CLASS for the window class parameter.
Rich edit controls support most of the window styles used with edit controls as well as additional styles. You should specify the ES_MULTILINE window style if you want to allow more than one line of text in the control.
Built on Thursday, May 11, 2000
ReplyOriginally posted by: baltic
Hello,everybody!When create a richedit control use the riched20.dll(2.0),I found that the characters in each line have different height,though I've set the same font.why?
ReplyOriginally posted by: Raj
If I use "accent char" like dot or comma above a charactor gives an extra space and char alignment is wrong. This is
working fine for RichEdit 1.0. If I choose BOLD effect it works fine on RichEdit 1.0/2.0/3.0. I mean the problem is only with NORM char effect(default).
What is accent chars?
Accent chars are used in Eroupien/Indian languages, for example it looks like "i" (ie) char with a dot or comma.
but it is combination of two chars, the second char (dot)
font width is 2 so it can drawn on top of a char.
What is the problem?
In Richedit 2.0/3.0 norm char effect it draws like this
"i " instead of "i".
Is anyone seen this problem before? Any possible solution to this problem?
(if anyone need more info, please let me know)
Thanks in advance,
Raj
Reply
Originally posted by: Magnes
Please Help Me...
I do not chage color of text background..
How can i use the new function of richedit3.0??
I use the sample project code but i have some problem.
I use CHARFORM2 format..
ex)
CRichEditCtrl m_ctrlMsg;
CColorDialog pDlg;
CHARFORMAT2 cf
if(pDlg.DoModal() == IDOK)
{
cf.dwEffects = 0;
cf.dwMask |= CFM_BACKCOLOR;
cf.crBackColor= pDlg.GetColor();
m_ctrlMsg.SetSelectionCharFormat(cf);
}
Originally posted by: Sean Howell
Quite seriuosly, the network guys put in a great system for plugging in additional protocols such as MyApp:// (called Application Pluggable Protocols - APP) but the Richedit (even v3) does not support pluggable protocols. Instead, the list of protocols that get underlined are hard coded.
Better still, outlook:// is in there !! Cheeky.
Reply