LDoubleBuffer::EnableDoubleBuffer (original) (raw)
Summary
Enables or disables double buffering.
Syntax
#include "ltwrappr.h"
virtual L_BOOL LDoubleBuffer::EnableDoubleBuffer(bEnable)
Parameters
L_BOOL bEnable
Value that specifies whether to enable double buffering. Possible values are:
Value | Meaning |
---|---|
TRUE | Enable double buffering. |
FALSE | Disable double buffering. |
Returns
The previous setting.
Comments
This function enables or disables a double buffering process. This function should be used after the double buffering process is already in place. This means that the double buffering handle should already be created, and all paint calls should already be wrapped in LDoubleBuffer::Begin.
For more information, see the topic Minimizing Flicker with Double Buffering.
Required DLLs and Libraries
- LTDIS
- For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.
Platforms
Win32, x64.
See Also
Functions
Topics
Example
For an example, refer to LDoubleBuffer::End.
LEADTOOLS Raster Imaging C++ Class Library Help