>OK though maybe it will be better to implement sth like LOCKAREA
>to block console output in specified region.
>BTW GTWVT redraw screen using data from base character screen buffer.
>GTWVG creates intermediate image so data from screen buffer is written
>to this image and to the window. On refresh they are copied from image
>to window. We can very easy add such functionality to GTWVT as an option
>and it should be even more efficient. Just simply REFRESH/REDRAW will
>check if hScrImg exists and if yes then it will draw the screen data
>into it like hb_gt_wvt_PaintText(). Inside window procedure we will
>change WM_PAINT action and if hScrImg exists then instead of redrawing
>screen buffer it will simply copy hScrImg area to window.
>It should give the same as GTWVG functionality but faster (we eliminate
>double screen buffer redrawing) and much easier to control by user.

>Then it should be quite easy to change GTWVG and instead of replicating
>GTWVT code it will simply inherit from GTWVT. Just like now GTCTW can
>inherit from any other GT adding CT-Window functionality.

Your way for having better refresh seem very good.
Can please better explain how a GT will Inerith from GTWVT istead replicating 
code?

_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to