CDC::SetAttribDC 

virtual void SetAttribDC( HDC hDC );

Parameters

hDC

A Windows device context.

Remarks

Call this function to set the attribute device context, m_hAttribDC. This member function does not attach the device context to the CDC object. Only the output device context is attached to a CDC object.

CDC OverviewClass MembersHierarchy Chart

See Also   CDC::SetOutputDC, CDC::ReleaseAttribDC, CDC::ReleaseOutputDC