VC++设置并叠加透明图片,分3步进行实际的绘制
dcMask.BitBlt(0, 0, nWidth, nHeight, &dcImage;, 0, 0, SRCCOPY);//分3步进行实际的绘制
pDC->BitBlt(x, y, nWidth, nHeight, &dcImage;, 0, 0, SRCINVERT);
pDC->BitBlt(x, y, nWidth, nHeight, &dcMask;, 0, 0, SRCAND);
pDC->BitBlt(x, y, nWidth, nHeight, &dcImage;, 0, 0, SRCINVERT); //恢复原先设置
1