This member function attaches an hDC to the CDC object.
BOOL Attach( HDC hDC );
| Header File | Afxwin.h | 
| Platforms | |
| Versions | 1.0 and later | 
| Complete documentation | Visual C++ documentation | 
CDC Overview, CDC Member Functions, Graphical Drawing Classes, CDC::Detach, CDC::m_hDC, CDC::m_hAttribDC