This documentation is archived and is not being maintained.

COleControl::ReleaseDC

Releases the display device context of a container of a windowless control, freeing the device context for use by other applications.

int ReleaseDC( 
   CDC* pDC  
);

pDC

Identifies the container device context to be released.

Nonzero if successful; otherwise 0.

The application must call ReleaseDC for each call to GetDC.

Header: afxctl.h

Show: