COleControl::ReleaseDC

This method releases the display device context of a container of a windowless control, freeing the device context for use by other applications. The application must call ReleaseDC for each call to GetDC.

At a Glance

Header file: Afxctl.h
Platforms: H/PC 2.0, H/PC Pro
Windows CE versions: 2.0 and later
Complete documentation: Visual C++ documentation

Syntax

int ReleaseDC( CDC* pDC );

See Also

COleControl::GetDC