-
CRichEditCtrl
Pl. HELP : What is the best way of drawing CRichEditCtrl on to a memory Bitmap with the supplied CHARFORMAT information. At the last I would paste this bitmap to my view window,because I want to see the entered text of CRichEditCtrl on the view after deleing the object of CRichEditCtrl or CRichEditCtrl Window. Drawing on to the bitmap is my application requirement.
-
Re: CRichEditCtrl
Select a bitmap into a memory device context. Print the rich text to that device context using the EM_FORMATRANGE message, and then call StretchBlt() to copy the bitmap to your destination.
[email protected]