CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: CRichEditCtrl

  1. #1
    Join Date
    Apr 1999
    Location
    New delhi
    Posts
    3

    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.


  2. #2
    Guest

    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
  •  





Click Here to Expand Forum to Full Width

Featured