CDC::~CDC

Syntax

virtual ~CDC();

Remarks

Destroys a CDC object. If a Windows HDC is attached to the CDC object, the destructor detaches the HDC and deletes it.

See Also

CDC::DeleteDC, ::DeleteDC