15,979
社区成员
发帖
与我相关
我的任务
分享
void CSGSIIIView::OnPaint()
{
CPaintDC dc(this); // device context for painting
// TODO: Add your message handler code here
// Do not call CFormView::OnPaint() for painting messages
CRect m_rect;
GetClientRect(m_rect);
//dc.FillSolidRect(m_rect, RGB(0,0,0));
}
BOOL CSGSIIIView::OnEraseBkgnd(CDC* pDC)
{
// TODO: Add your message handler code here and/or call default
CRect m_rect;
GetClientRect(m_rect);
pDC->FillSolidRect(m_rect, RGB(0,0,0));
return TRUE;
//return CFormView::OnEraseBkgnd(pDC);
}