CDC::GetSafeHdc

This member function retrieves the m_hDC data member, which contains the output device context.

Syntax

HDC GetSafeHdc( ) const;

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CDC Overview, CDC Member Functions, Graphical Drawing Classes, CDC::m_hDC