CWindowGraphicsContext::CWindowGraphicsContext
CWindowGraphicsContext::CWindowGraphicsContext(HDC h)
Attach constructor. Attaches the given DC handle to this instance.
Defined in: GraphicContext.h
Parameters
h
Device context.
Comments
The device context passed in must have been created using the GetWindowDC
API function; otherwise the deallocation process will have undefined
results as it will try to invoke ReleaseDC() on a DC handle that wasn't
created appropiately for such function.