CGXGridCore::SetDrawingTechnique
GXDrawingTechnique SetDrawingTechnique(GXDrawingTechnique t);
t
Specifies the drawing technique to be used for the grid window. This parameter can be one of the following values:
- gxDrawDirectToDC All output is drawn directly to the device context (default setting)
- gxDrawUsingMemDC All output is drawn using a SECMemDC (less flickering but slower)
Return Value
Returns a value specifying the previous drawing technique.
Remarks
It is faster to let the grid draw directly to the device context, but sometimes it looks nicer if you let the grid draw using SECMemDC, because you get less flickering.