Objective Grid: Decreasing update flicker

Article ID: 65
Last updated: 16 Apr, 2018
Article ID: 65
Last updated: 16 Apr, 2018
Revision: 3
Views: 2204
Posted: 12 Jan, 2001
by Meltreger B.
Updated: 16 Apr, 2018
by Meltreger B.

Problem


I am frequently updating the grid. The problem is that is starts flickering a lot. Is there a way to turn off the flickering?


Cause



Action


Yes, you can tell the grid to draw to a memory device context. This will be a bit slower than drawing direct to the device context, but will look much smoother. There will be absolutely no flickering anymore.

To enable this special mode, you should call

SetDrawingTechnique(gxDrawUsingMemDC);

This article was:   Helpful | Not helpful
Report an issue
Article ID: 65
Last updated: 16 Apr, 2018
Revision: 3
Views: 2204
Posted: 12 Jan, 2001 by Meltreger B.
Updated: 16 Apr, 2018 by Meltreger B.

Others in this category