|
-
April 10th, 1999, 06:04 AM
#1
How do i change the background color of a window
Hi,
I am unable to change the background color of my window.
How do i change it?
Please help me to do this.
-
April 10th, 1999, 09:53 AM
#2
Re: How do i change the background color of a window
void CTry::OnPaint()
{
CPaintDC dc(this);
CRect rect;
GetClientRect(rect);
CBrush m_Brush(RGB(155,200,155));
dc.FillRect(rect,&m_Brush);
}
}
XingXing
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
|