Freigeben über


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

Concepts

CDC Class

CDC Members

Hierarchy Chart

CDC::SetOutputDC

CDC::ReleaseAttribDC

CDC::ReleaseOutputDC