Originally posted by: Yevgeniy
Hi!
I can't get ITextDocument interface from Rich Edit 3.0. The idea was to use freeze(...) method, but I can't even get an interface. Did anyone work with it? Please help!
Yevgeniy.
Originally posted by: xxx
in DEBUG Window Display
"First-chance exception in RichEdit20.exe (KERNEL32.DLL): 0xC0000005: Access Violation."
Why??
Originally posted by: xxx
in DEBUG Window Display
"First-chance exception in RichEdit20.exe (KERNEL32.DLL): 0xC0000005: Access Violation."
Why??
Originally posted by: Krotow
Creating a CRichEditCtrlEx has be a good idea. It solve some big headaches for me. But if control working Ok, what be about this DOC/VIEW representation? What about a some CRichEditViewEx?
P.S. I found, from where you get idea for CRichEditCtrlEx - slightly reduced winctrl4.cpp from ..\VCxx\MFC\SRC, aren't jet? ;-) Seems, CRichEditViewEx must be created in similar way.
Originally posted by: Li
How can I modify this project based on CRichEditView?
Originally posted by: Raj
If I cut any kanji character (japneese characters mapped to double byte hex value) and try to pasete in your application,it is not understanding those characters..can you pl. make it clear.
Regards
Raj
Originally posted by: spec
I Want to Prevent a drag-and-drop feature..
But, Notify message not work..
Originally posted by: Phil Kinnamon
This is good stuff. I have been working with Microsoft support looking for their help to get some of the things to work on RichEd20.dll, such as StreamIn. StreamIn works fine, but the background colors are ignored. I did get the suggestion to use SendMessage(EM_SETCHARFORMAT,...) instead of CRichEditCtrl::SetCharFormat and that worked good including the background colors (SetCharFormat ignored the background colors even using CHARFORMAT2). I just received another message from Microsoft which I will paste here.
=======================
The MFC class CRichEditCtrl is designed for RichEdit32. RichEdit20 was a
recent richedit class. The CHARFORMAT and PARAFORMAT structure sizes are
different for these . In most of the CRichEditCtrl functions , the cbsize structure member of this structure is set to sizeof(CHARFORMAT) or sizeof(PARAFORMAT) instead of sizeof(CHARFORMAT2) or sizeof(PARAFORMAT2) .
That is the reason most of the Charformat attributes cannot be set by using the MFC functions. you have to explicitly send the message to the control in order to achive this. This has to be done for all the rich edit ctrl messages which involve CHARFORMAT and PARAFORMAT structures.
==================
My question is: Where do I find the info needed to make this thing walk and talk. You seem to know more about it than the Microsoft guy. x
Originally posted by: Jeff Ames
I have the default char format set to be protected, so that when the user enters text, I should receive an EN_PROTECTED message. With Rich Edit 1.0, this works fine. But I recently updated it to 2.0, and now I no longer receive an EN_PROTECTED message when the user enters text - only when that text is deleted. It doesn't appear this is a problem with the MFC CRichEditCtrl functions, as I still receive a message sometimes. Anyone else found this, or found a way around it?
ReplyOriginally posted by: Mike
Well I found a way to redistribute Richedit 2.0. Just redistribute Word 97 viewer.
http://www.microsoft.com/Office/000/viewers.htm
Download Word 97 Viewer 32 bit and redistribute. It's as simple as that. Yes it's Richedit 2.0 and not 2.1 or 3.0 but that's all I found for now.
Mike
Reply