toblo
May 20th, 1999, 06:26 AM
..having a bit of a problem with this one..
-I've overridden the OnCtlColor method of CComboBoxEx, and changed the color of the background:
...
COLORREF ActiveBkColor =(COLORREF)0xdae4e9;
static CBrush ActiveBrush(ActiveBkColor);
HBRUSH Brush;
Brush = ActiveBrush;
pDC->SetBkColor(ActiveBkColor);
return Brush;
-Looks totally OK as long as I don't look at the popped-up list, where the background of the text (only) is still white!
-Where there is no TEXT, the background color is ok..
Does anybody have an idea as to what I can do?
Regards
/Torbjörn Josefsson
-I've overridden the OnCtlColor method of CComboBoxEx, and changed the color of the background:
...
COLORREF ActiveBkColor =(COLORREF)0xdae4e9;
static CBrush ActiveBrush(ActiveBkColor);
HBRUSH Brush;
Brush = ActiveBrush;
pDC->SetBkColor(ActiveBkColor);
return Brush;
-Looks totally OK as long as I don't look at the popped-up list, where the background of the text (only) is still white!
-Where there is no TEXT, the background color is ok..
Does anybody have an idea as to what I can do?
Regards
/Torbjörn Josefsson