Originally posted by: William
Can anybody help me?
Thanks
I'm looking for a way to insert pictures into the richedit control.
Originally posted by: Z.Runyoung
I want to use CRichEditCtrl 2.0 instead of CRichEditCtrl 1.0 in CRichEditView class. But I couldn't how to do. Help!
Originally posted by: Robert Rostek
Hy!
Has anyone some sample codes for me which show how one can StreamIn images from the harddisk?
I don't want to insert them using OLE. If I insert an image into a word document and save it as .rtf, I can see the image data as a text block. How can I do that on my own to use it for StreamIn?
Robert
ReplyOriginally posted by: Kevin Schubach
I have looked all over.I need to know basically:
how to drop and icon in to a Rich Edit Control.(Dialog Based).
Originally posted by: Jochen
I have the solution for the problem, that a richeditcontrol in win2000 cannot read much more than about 4kb data with the streamin method. You have to send a EM_EXLIMITTEXT message to the richeditcontrol. Don' t matter what MSDN says about this message. It helps.
ReplyOriginally posted by: Saad
I don't know how if it is possible to load an rtf file into a rich edit control without using CRichEditView and CRichEditDoc.
Saad
ReplyOriginally posted by: SHG
See http://msdn.microsoft.com/library/devprods/vs6/vbasic/rtfbox98/vbconsupportedrtfcodes.htm for supported RTF codes
Originally posted by: Robbie
Is there a reference guide to RTF somewhere? This would make more sense than discovering the codes by trial and error.
ReplyOriginally posted by: Felix Kiesel
Thanx anyways,
Felix
Thak you for this example, it works. But certain RTF-Strings wont be inserted.If I insert the String {\\field {\\*\\fldinst FieldName \\\\*MERGEFORMAT }{\\fldrslt FieldResult}} and than take a look on the .rtf-Document with Notepad, it just inserted the String FielResult. How can I insert these spezial strings?
Originally posted by: Paul
Zafir Anjum's wonderful EditStreamCallBack code works fine on Windows 95/98/NT, but not under Windows 2000. In Windows 2000, only the first part of a large buffer is read into the CRichEditCtrl.
Does anyone have a fix for this problem?
Reply