I have below code
The problem is text is displayed on rectangle with gray color. How can i paint that rectangle color to white?
Code:
CStatic *text = new CStaic ;
CRect textrect(10,20,70,50);
MapDialogRect(&tectrect);
text -> Create(name.data(),WS_CHILD | WS_VISIBLE | SS_RIGHT,textrect,this);