virtual L_BOOL LBitmapWindow::EnableDoubleBuffer(bEnable)
Enables or disables double buffering.
Value that specifies whether to enable double buffering. Possible values are:
Value | Meaning |
---|---|
TRUE | Enable double buffering. |
FALSE | Disable double buffering. |
The previous setting.
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, refer to Minimizing Flicker with Double Buffering.
Win32, x64.
L_INT LBitmapWindow__EnableDoubleBufferExample()
{
LBitmapWindow m_LBitmapWnd;
L_BOOL bOldStatus;
if(!m_LBitmapWnd.IsDoubleBufferEnabled())
bOldStatus = m_LBitmapWnd.EnableDoubleBuffer(TRUE);
return SUCCESS;
}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document