1个回答
展开全部
在皮卜onpain()函数中燃闹穗
CDC *pDC = GetDC();
CDC memDC;
memDC.CreateCompatibleDC(pDC);
Cbitmap bmp;
bmp.LoadBitmap(你的图弯碰片ID);
CBitmap *pOldBitmp = memDC.SelectObject(&bmp);
Crect Rect(0,0,0,0);
GetClientRect(&Rect);
pDC->BitBlt(0,0,Rect.Width(),Rect.Height(), &memDC,0,0,SRCCOPY);
memDC.SelectObject(pOldBitmp);
memDC.DeleteDC();
ReleaseDC(pDC);
CDC *pDC = GetDC();
CDC memDC;
memDC.CreateCompatibleDC(pDC);
Cbitmap bmp;
bmp.LoadBitmap(你的图弯碰片ID);
CBitmap *pOldBitmp = memDC.SelectObject(&bmp);
Crect Rect(0,0,0,0);
GetClientRect(&Rect);
pDC->BitBlt(0,0,Rect.Width(),Rect.Height(), &memDC,0,0,SRCCOPY);
memDC.SelectObject(pOldBitmp);
memDC.DeleteDC();
ReleaseDC(pDC);
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询