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

 HDC hdc = ::GetDC(this->m_hWnd);

+ Recent posts