Hi Pritpal,

Slightly better than the first version, since it's
not calling RedrawWindow() for smaller mouse movements
now. Still flickers very much, when the selection
changes though.

The culprit here is RedrawWindow() which seems slow and
redraws the whole window, hence the flicker.

My attempt was replacing RedrawWindow() with InvertRect()
on the previously inverted area.

I wonder if there are any other tricks to apply?
(double buffering?)

Brgds,
Viktor

On 2008.06.08., at 20:11, Pritpal Bedi wrote:


2008-06-08 08:57 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED]
  * harbour/source/rtl/gtwvt/gtwvt.c
    * Fixed flickering in "Mark and Copy" operation.
      /* Viktor, see the slight change in your code. */

Regards
Pritpal Bedi
--
View this message in context: 
http://www.nabble.com/2008-06-08-08%3A57-UTC%2B0800-Pritpal-Bedi-%28pritpal%40vouchcac.com-tp17721437p17721437.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