This member function creates a memory device context that is compatible with the device specified by pDC.
virtual BOOL CreateCompatibleDC( CDC* pDC );
| Header File | Afxwin.h | 
| Platforms | |
| Versions | 1.0 and later | 
| Complete documentation | Visual C++ documentation | 
CDC Overview, CDC Member Functions, Graphical Drawing Classes, CDC::CDC, CDC::GetDeviceCaps, CDC::BitBlt, CDC::DeleteDC