trichview.com

trichview.support




Re: repaint of richView


Return to index


Author

Message

mikee

Posted: 05/12/2002 6:21:28


thanks

i have draw some lines  on richView's canvas using onMouseDown,onMouseMove

,onMouseUp event .

and save these lines' info in a TstringList .

when richview refresh or scroll ,these lines despeard .so i want to redraw

these lines .

i have use OnDrawStyleText ,but  when richView  scrolling ,these lines'

redrawing  can not do well .

i want to implement these lines' redraw  as richView has done .

can u tell me how to do that .

what's more , if i use OnPagePrepaint event ,i must  draw these lines on

preVeiw  mode .

and record page NO .so ,can u tell me how to get the canvas of print preview

?

thanks  a  lot .



"Sergey Tkachenko" <svt@trichview.com> wrote in message

news:3cdcf8ef$1@support.torry.net...

> There are no means for it.

> But:

> - you can draw on each page (OnPagePrepaint event)

> - you can draw on paragraph background (OnDrawParaBack)

> - you can draw on text background (OnDrawStyleText, OnDrawTextBack)

>

> > i want to draw somthing  on the canvas of richview when richview repaint

.

> > can u give me some advice !

> > thanks a lot .

> >

> >

>

>





Powered by ABC Amber Outlook Express Converter