|
-
May 11th, 1999, 04:34 PM
#1
How do I Change the Background Color of an edit box
I have created an Edit control in the resource editor. I want to change to background color.
this is what i have tried
CRect editRect;
m_CreditText->GetClientRect(&editRect);
CClientDC dc (this);
CBrush * brushSR;
brushSR = new CBrush(RGB(255,0,0));
dc.FillRect(&editRect,brushSR);
delete brushSR;
could anybody give me any guidance.
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
|