[lazarus] GTK team: please specify!
M.Nelissen at student.tue.nl
Fri Nov 7 12:30:39 EST 2003
Mattias Gaertner wrote:
> On Wed, 05 Nov 2003 17:27:21 +0100
> Micha Nelissen <M.Nelissen at student.tue.nl> wrote:
>>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
> No. The following is used:
> InvalidateRect(FForm.Handle, at OldRect,false);
Ok, I have implemented an InvalidateRect-invalidates-children-too type
of InvalidateRect. I believe it's now compatible to the gtk bugs :),
e.g. the small lines left behind.
> I'm not sure, if the boundings are always correct. This is a non
> deterministic process. I have to debug this someday.
Good luck! ;). I will also see if I can find something, but don't count
too much on it :).
More information about the Lazarus