2007년 4월 23일 월요일

데스크탑윈도우의 DC를 얻어서 사용하는 방법

Very simple, uhh~

CRect r;
GetClientRect(&r);
CClientDC desktopDC(GetDesktopWindow());
pDC->BitBlt(0, 0, r.Width(), r.Height(), &desktopDC, 0, 0, SRCCOPY);

댓글 없음: