[lazarus] GTK team: please specify!

Micha Nelissen M.Nelissen at student.tue.nl
Tue Nov 4 16:04:30 EST 2003


Mattias Gaertner wrote:
> On Tue, 04 Nov 2003 14:24:31 +0100
> Micha Nelissen <M.Nelissen at student.tue.nl> wrote:
> 
> 
>>I have implemented GetDesignerDC for win32. Screen relative positions. 
>>Works reasonably well. I can see the grid alignment lines now :).
> 
> 
> Grid alignment lines? :)
> I guess, you mean the blue and green guide lines. 

Yes, those :).

>>But: 
>>things drawn onto controls are left behind. I assume nothing is drawn 
>>into controls DC's anymore, only to the designer DC?
> 
> 
> Markers and grids are painted per control paint messages.
> The invalidate rectangles are not big enough. Not a big thing. This is a
> known issue. Although with the new technique it appears more often. 

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?

Micha.






More information about the Lazarus mailing list