Call this member function to obtain a pointer to a common, class, or private device context for the client area, depending on the class style specified for the CWnd.
CDC* GetDC( );
| Header File | Afxwin.h |
| Platforms | |
| Versions | 1.0 and later |
| Complete documentation | Visual C++ documentation |
CWnd Overview, CWnd Member Functions, Window Class Categories, CWnd::ReleaseDC, CWnd::GetWindowDC, CClientDC