CPaintDC::m_hWnd

Remarks

The HWND to which this CPaintDC object is attached. m_hWnd is a protected variable of type HWND.