MFC CDC 用 BitBlt 绘图后,如何清空画布? 15
CWnd*pWnd=GetDlgItem(IDC_PANEL);CDC*pDC=pWnd->GetDC();pDC->BitBlt(0,0,bm.bmWidth,bm.b...
CWnd *pWnd = GetDlgItem(IDC_PANEL);
CDC *pDC = pWnd->GetDC();
pDC->BitBlt(0, 0, bm.bmWidth, bm.bmHeight, &dc, 0, 0, SRCCOPY);
点击按钮后会画图图像,然后如何清空? 展开
CDC *pDC = pWnd->GetDC();
pDC->BitBlt(0, 0, bm.bmWidth, bm.bmHeight, &dc, 0, 0, SRCCOPY);
点击按钮后会画图图像,然后如何清空? 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询