Microsoft DirectX 8.1 (C++) |
The SetDrawContext method sets the device contexts used for drawing.
Syntax
void SetDrawContext(void);
Return Value
No return value.
Remarks
The draw object always needs a device context for the window to draw images in. It might also need an off-screen device context to select bitmaps into when using DIBSECTION buffers (for more details on these and CreateDIBSection, see the Microsoft Platform SDK documentation). This member function will typically be called by a filter using this class, after it has initialized a window.
See Also