Ok, now I'm even closer. I found what was causing problems outside the
Paint event.
TCUSTOMLABEL.CALCSIZE calls GetDC, doing some changes on the way I
implement BeginPaint and GetDC I solved this.
But the label still doesn't show ... now I need to know why
TCustomLabel.Paint is never called (and who should be calling it).
thanks,
--
Felipe Monteiro de Carvalho
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives