[comp.windows.ms] Edit Class question

mms00786@uxa.cso.uiuc.edu (07/26/89)

Hello.

I am using some edit child controls in a dialog box, and I would like to change
the color of the background of *selected* text. I can't seem to figure any way
out at all. Intercepting the WM_CTLCOLOR message and setting the background colo
only changes the background of regular text. Windows always seems to set the
background to black for all selected text.

Is there any way to do this short of defining my own edit class? (I hope so!). Of
all the system colors, there isn't one that defines background color for selecte
text. I could try window subclassing, but I really can't decide on which message
to intercept.

If anyone has done this, or has any idea of how I could do it, could you please
email or post?       

Thanks in advance,

Milan.
mms00786@uxa.cso.uiuc.edu
.