Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CDC::SetOutputDC
Collapse the table of content
Expand the table of content

CDC::SetOutputDC

Call this member function to set the output device context, m_hDC.

virtual void SetOutputDC( 
   HDC hDC  
);

hDC

A Windows device context.

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.

Header: afxwin.h

Show:
© 2015 Microsoft