[MFC] HDC, CDC 얻는 방법

2008. 5. 2. 14:38Coders

  1. HDC hdc = ::GetDC(hWnd);
  2. CDC *pDC = CDC::FromHandle(hdc);