OnCtlColor question

hello
when using OnCtlColor for an edit field with SetBkMode(TRANSPARENT) set the "old" lnes stay visible when scrolling.
how can it be done do avoid this problem?
thanks for your help.
[214 byte] By [quorsum] at [2007-11-20 11:29:00]
# 1 Re: OnCtlColor question
By seeing post, it doesn't give idea. Can you post the code snippet of your
OnCtlColor()? that will be helpful to analyse.

Regards,
Nilesh.
nilesh.gawade at 2007-11-10 22:25:16 >
# 2 Re: OnCtlColor question
DO NOT set the background mode TRANSPARENT for a multiline edit control.

If you simply want to set its background color then call SetBkColor with the same color as for the returned (solid) brush.
If you want a kind of "transparent" edit control (having some picture in the background) then forget it! ;)
ovidiucucu at 2007-11-10 22:26:20 >