Do you still have the code?, could you pass it on to me? please...

Chris

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Max Renshaw-Fox
Sent: Friday, July 02, 1999 2:36 PM
To: Multiple recipients of list Delphi
Subject: RE: [DUG]: RichEdit Controls


I've had luck doing this sort of thing to a TImage (not visible) where a
Canvas or Bitmap would not work.

Max

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Chris Crowe
Sent: Friday, 2 July 1999 09:33
To: Multiple recipients of list Delphi
Subject: [DUG]: RichEdit Controls


Hi,
  I am doing some stuff with RichEdit controls, and I want to capture the
rich edit control's rendered view to a canvas.

I can do this, but I have a small problem with it. The proess of copying the
RTF to the canvas is as follows.

1)  Load the RTF control with some RTF (easy)
2)  Print the RTF control to another control
3)  Use BitBlt to copy fdrom the control in #2 to a canvas.

This works fine as long as the control in #2 is visible.  I do not want this
control to be visible. I want this all to happen off screen.

Does anyone have any ideas how I can get it to work without having the
control in #2 visible?

ps: if anyone wants the code I have now let me know. The control I have
created has a RTF property; with this you can either set or read the
contents of the RTF control in RTF format, unlike the lines property which
is only the actual text without the RTF codes.

Chris

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to