This member function retrieves the m_hDC data member, which contains the output device context.
HDC GetSafeHdc( ) const;
| Header File | Afxwin.h | 
| Platforms | |
| Versions | 1.0 and later | 
| Complete documentation | Visual C++ documentation | 
CDC Overview, CDC Member Functions, Graphical Drawing Classes, CDC::m_hDC