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

CDC::m_hDC

The output device context for this CDC object.

HDC m_hDC;

By default, m_hDC is equal to m_hAttribDC, the other device context wrapped by CDC. In general, CDC GDI calls that create output go to the m_hDC device context. You can initialize m_hDC and m_hAttribDC to point to different devices. See the CDC class description for more on the use of these two device contexts.

Header: afxwin.h

Show:
© 2015 Microsoft