CDC::GetSafeHdc

Call this member function to get m_hDC, the output device context.

HDC GetSafeHdc( ) const;

Return Value

A device context handle.

Remarks

This member function also works with null pointers.

Requirements

Header: afxwin.h

See Also

Concepts

CDC Class

CDC Members

Hierarchy Chart