Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The HWND to which this CPaintDC object is attached.
HWND m_hWnd;
Remarks
m_hWnd is a protected variable of type HWND.
Example
// Get a dc for a CWnd object pointer.
CPaintDC dc(pWnd);
// Send my private massage.
::SendMessage(pWnd->m_hWnd, WM_MYMESSAGE, (LPARAM) &dc.m_ps, 0);
Requirements
Header: afxwin.h