This method deletes the Windows CE device contexts that are associated with m_hDC in the current CDC object. If this CDC object is the last active device context for a specified device, the device is notified and all storage and system resources used by the device are released.
In general, do not call this method ; the destructor will do it for you.
Header file: | Afxwin.h |
Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
Windows CE versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
virtual BOOL DeleteDC( );
CDC::CDC, CDC::CreateCompatibleDC, CWnd::GetDC, CWnd::ReleaseDC