먹고 사는 일/VC++
CDC 배경 삭제 이미지
니카루스
2009. 7. 28. 08:41
dc 의 특정 색을 배경으로 삭제하고 사용 할 때
/// CRect rect : DC rect
/// barSize : memDC. Size
/// COLOREEF : rgbBKColor (RGB 0, 0, 0) 배경 색상
pDC->TransparentBlt(rect.left, rect.top, rect.width(), rect.hight(), &memDC, 0, 0, barSize.cx, barSize.cy, rgbBKColor);