I have an edit box and a combo box subclassed from an ATL ActiveX control (done with the wizard). How can I change the background and text colors on an event (for example OnClick).

I tried using WM_CTLCOLOREDIT but that only works on the edit box...


I also tried using a composite control with MFC support and planting a CEdit on it, but I don't know how to go on from there concerning the colors.


Any help would be appriciated...


Thanks,

Oren