[lazarus] GTK team: please specify!

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Nov 7 10:57:45 EST 2003

On Wed, 05 Nov 2003 17:27:21 +0100
Micha Nelissen <M.Nelissen at student.tue.nl> wrote:

> Mattias Gaertner wrote:
> > On Tue, 04 Nov 2003 22:12:26 +0100
> > Micha Nelissen <M.Nelissen at student.tue.nl> wrote:
> > 
> >>A lot more :). For example: placing a TGroupBox into the form and then 
> >>placing a button in that groupbox, selecting it. Then move the button: a
> >
> >>trail of complete square boxes of markers is left behind. Not a 1-pixel 
> >>line, but the full 10 by 10 pixel box or so. All blue and green lines 
> >>are left behind on controls, so moving them around a little bit and they
> >
> >>all have blue and green borders :). Do you know the cause, solution?
> > 
> > 
> > Sounds as if the InvalidateRect does not work properly under win32. Or
> > too good.
> Do you call InvalidateRect too on the control on which is painted? The 
> grabbers, for example, are partly on form, partly on control. 
> InvalidateRect is being called for the form, but is it called for the 
> control too?

No. The following is used:

     InvalidateRect(FForm.Handle, at OldRect,false);

I'm not sure, if the boundings are always correct. This is a non
deterministic process. I have to debug this someday.


More information about the Lazarus mailing list