Partager via


CDC::SetAttribDC

Call this function to set the attribute device context, m_hAttribDC.

virtual void SetAttribDC( 
   HDC hDC  
);

Parameters

  • hDC
    A Windows device context.

Remarks

This member function does not attach the device context to the CDC object. Only the output device context is attached to a CDC object.

Requirements

Header: afxwin.h

See Also

Reference

CDC Class

Hierarchy Chart

CDC::SetOutputDC

CDC::ReleaseAttribDC

CDC::ReleaseOutputDC