-
May 22nd, 2020, 10:47 AM
#1
Coloring Rect of Create(lpszText,dwstyle,&rect,parentwnd,nID) white
I have below code
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);
The problem is text is displayed on rectangle with gray color. How can i paint that rectangle color to white?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|