CDCRenderTarget::BindDC
Binds the render target to the device context to which it issues drawing commands
BOOL BindDC(
const CDC& dc,
const CRect& rect
);
Parameters
dc
The device context to which the render target issues drawing commandsrect
The dimensions of the handle to a device context (HDC) to which the render target is bound
Return Value
If the method succeeds, it returns TRUE. Otherwise, it returns FALSE.
Requirements
Header: afxrendertarget.h