CDC::Attach

This member function attaches an hDC to the CDC object.

Syntax

BOOL Attach( HDC hDC );

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::Detach, CDC::m_hDC, CDC::m_hAttribDC