Microsoft DirectX 9.0

CDrawImage::SetDrawContext

The SetDrawContext method sets the device contexts used for drawing.

Syntax

void SetDrawContext(void);

Return Value

No return value.

Remarks

This method retrieves the window and memory device contexts from the owning CBaseWindow object. Call this method after the window is initialized, but before you begin drawing.

See Also