[lazarus] TCanvas

Shane Miller smiller at lakefield.net
Sun Sep 12 22:40:27 EDT 1999


>> Anyone know of a good way of detecting WHEN to redraw the canvas?
>
>It is possible to block events and signals. You can put a block on it,
>do whatever you need to do, and then turn the block off. That way it
>will only do an update once after you turn the block off. I think that
>is what you are after isn't it?
>

No.  But thanks.  :-)
I am sending a REDRAW_THE_CANVAS message right now.  I don't like that.
See, in Windows, when I write a bunch of characters to the canvas, it
doesn't redraw after each character, or if it does, it stops the redraw once
you write to it again because it's fast.

Under Linux, I am telling it to redraw when I'm done sending all the text.
There must be a method in Windows for controlling this, like only draw the
canvas (if needed) every 500 ms or something.  If I write 200 characters to
the canvas, I don't want it to actually update the screen until
1) I'm done drawing
or
2) There is a pause in the drawing..


------------------------------------------------------------
Shane Miller

Get paid to surf the net!
http://alladvantage.com/go.asp?refid=DEX-870

Home page : http://www.lakefield.net/~smiller

Auto-IP Publisher : http://www.lakefield.net/~smiller/autoip

Advanced Clipboard : http://www.lakefield.net/~smiller/advclipboard

Lazarus : http://www.miraclec.com/lazarus
----------------------------------------------------------
-----Original Message-----
From: Michael A. Hess <mhess at miraclec.com>
To: lazarus at miraclec.com <lazarus at miraclec.com>
Date: Sunday, September 12, 1999 7:36 PM
Subject: Re: [lazarus] TCanvas


>Shane Miller wrote:
>>
>> Anyone know of a good way of detecting WHEN to redraw the canvas?
>
>It is possible to block events and signals. You can put a block on it,
>do whatever you need to do, and then turn the block off. That way it
>will only do an update once after you turn the block off. I think that
>is what you are after isn't it?
>
>
>--
>==== Programming my first best destiny! ====
>
>Michael A. Hess      Miracle Concepts, Inc.
>mhess at miraclec.com   http://www.miraclec.com
>
>_________________________________________________________________
>     To unsubscribe: mail lazarus-request at miraclec.com with
>                "unsubscribe" as the Subject
>    archives at http://www.miraclec.com/list_archives/lazarus
>






More information about the Lazarus mailing list