[Lazarus] GTK2 EraseBackgound

JoshyFun joshyfun at gmail.com
Fri Feb 5 15:34:26 CET 2010


Hello Lazarus-List,

Friday, February 5, 2010, 2:41:16 PM, you wrote:

>> The problem is that in GTK2 this effect is not obtained as the
>> EraseBackground is never called and message WMEraseBackground is never
>> called also.
PI> EraseBackground message is only send for TCustomControl descendants.
PI> Therefore you get no message for TEdit.

Yes but in Windows the EraseBackground method is being called for
TEdit, not the message.

I'll put some writelns here and there and perform a bit more checks,
like painting everything in WMPaint :-?

-- 
Best regards,
 JoshyFun





More information about the Lazarus mailing list