afx_msg void OnPaint(); //重写
void CSkinDlg::OnPaint()
{
if (IsIconic())
{
}
else
{
//修改窗体背景颜色
CRect rect;
CPaintDC dc(this);
GetClientRect(rect);
//设置为白色背景
dc.FillSolidRect(rect,RGB(255,255,255));
CDialog::OnPaint();
}
}
void CSkinDlg::OnPaint()
{
if (IsIconic())
{
}
else
{
//修改窗体背景颜色
CRect rect;
CPaintDC dc(this);
GetClientRect(rect);
//设置为白色背景
dc.FillSolidRect(rect,RGB(255,255,255));
CDialog::OnPaint();
}
}