Click to See Complete Forum and Search --> : Color Problem in Control


August 18th, 1999, 12:09 PM
Hi
In a dialog i have a combo and edit and some button controls. I wanted to set the color for combo and edit controls.So I handled WM_CTLCOLOR message. While the edit control is properly colored the combo control is not. A thin color line is formed around the border of the control and remaining portion remains in the default color. What are the possible causes for this.

Any help in this regard is highly appreciated.

Regards
Kiran Kumar B.

August 18th, 1999, 01:35 PM
Because the text is drawn with default settings, try coloring the list box and the edit of the combo separately or make it ownerdrawn