Hi Pritpal,

I gave up on both of these issue, and committed
just a minor optim for Andy's code.

So what we have left is:

1/a) Trashing (unupdated regions) when window is too small.
1/b) Trashing when frame is larger than content (flat and tall windows).
2)   Impossible to select leftmost col, topmost row.
     (selection should be calculated relative to the selection
     origo rather than the window's origo)

+1) Separate thread to refresh the screen content.

Brgds,
Viktor

On 2008.06.12., at 10:30, Pritpal Bedi wrote:


Hello

You've readded the previous fix...

:-(
But if it is not done like this, last row and columns get messy.
I have another suggestion by Andy. I will fix it soon.

Any ideas for the trashing windows when resizing? (see pics)

Yes. The problem is in some situations when fontheight or width is bigger
than expected.

Remove
        if( width <= maxWidth &&
            height <= maxHeight &&
            tm.tmAveCharWidth >= 3 &&
            tm.tmHeight >= 4 )

and it will be set right. I did it previously but you removed. Just test.

Regards
Pritpal Bedi
--
View this message in context: 
http://www.nabble.com/2008-06-12-00%3A40-UTC%2B0800-Pritpal-Bedi-%28pritpal%40vouchcac.com%29-tp17794370p17794920.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to