CMemDC::GetDC
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Returns a device context.
CDC& GetDC();
Return Value
A reference to a device context that you can use for drawing operations. The constructor, CMemDC::CMemDC, initializes this device context.
Call CMemDC::IsMemDC to determine whether the device context is a memory device context or a screen device context.
Requirements
Header: afxglobals.h