Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2003-10

Non-visual component drawing

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Micha Nelissen
Mattias Gaertner wrote
For win32 the normal paint messages should be enough. Please test, if the designer is getting the paint messages and if they are handled at the right time (after letting the control draw itself). Maybe we need to adapt the BeginPaint, EndPaint to the designer.

I now understand better. TWinControl.WMPaint needs to send the lm_paint through the perform method, not only call WMPaint.

However, now I have another problem: the designerdevicecontext.FDCSize is (0,0) and stays so. The line GetDeviceSize (designerprocs.pas:286) never gets executed. Can you help me?

Micha.

Reply by email