COleControl::ReleaseDC

int ReleaseDC( CDC* pDC );

Return Value

Nonzero if successful; otherwise 0.

Parameters

pDC

Identifies the container device context to be released.

Remarks

Call this function to release 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.

COleControl OverviewClass MembersHierarchy Chart

See Also   COleControl::GetDC