"OwnerDraw" Memo

Hi all,

I was wondering which is the best technique to override the default
painting behaviour of a TMemo.
Overriding the Paint method doesn't do the job because when you are
editing the text, it seems that the handling of the painting goes to
somewhere else (there is no WM_PAINT message sent to the window)... and
all get screwed on the screen.

Does anyone dealt with this problem before? If so, could you share your

Best regards,
        Felipe Rocha Machado    
        GPS Tenologia Ltda.