|
-
April 8th, 1999, 04:44 AM
#1
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.
-
April 14th, 1999, 02:41 PM
#2
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]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|