Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.