I need control like a reach edit control , but I need possibility add an
image , too. Is it possible ? May be there is another control ?
Tanks for any help.
My name is Max Lu. Thank you for using the Microsoft VC.MFC Newsgroups.
The RichEdit control does not provide a direct method for loading a bitmap
and inserting it into an RTF document. The ActiveX control (RichTextBox)
provides the Add method through the COleObjects class, but this action
loads the bitmap for editing in the registered bitmap editor (usually
Paintbrush) before inserting it into the document. Both the DLL and the OCX
expose the IRichEditOle interface which, however, provides the InsertObject
method. This requires a fully-populated RichEdit Object (REOBJECT)
structure to be passed.
For more information, please visit
http://support.microsoft.com/support/kb/articles/Q220/8/44.ASP
There's another helpful article about how to using bmp image in Rich Edit
control http://codeguru.earthweb.com/richedit/richeditrc.html
If you have any questions or concerns, please feel free to tell me.
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. ? 2001 Microsoft Corporation. All rights
reserved.
Regards,
Max Lu
Microsoft Support