CDC::SetOutputDC

virtualvoidSetOutputDC(HDChDC**);**

Parameters

hDC

A Windows device context.

Remarks

Call this member function to set the output device context, m_hDC. This member function can only be called when a device context has not been attached to the CDC object. This member function sets m_hDC but does not attach the device context to the CDC object.

CDC OverviewClass MembersHierarchy Chart

See Also   CDC::SetAttribDC, CDC::ReleaseAttribDC, CDC::ReleaseOutputDC, CDC::m_hDC