Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.24
LEADTOOLS Raster imaging C++ Class library help

LBitmapWindow::EnableDoubleBuffer

Show in webframe

#include "ltwrappr.h"

virtual L_BOOL LBitmapWindow::EnableDoubleBuffer(bEnable)

L_BOOL bEnable;

/* value that specifies whether double buffering is used */

Enables or disables double buffering.

Parameter

Description

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
LTDLG
LTEFX
LTFIL
LTIMG
LTSCR
LTTWN

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:

Class Members

Example

L_INT LBitmapWindow__EnableDoubleBufferExample()
{
   
   LBitmapWindow m_LBitmapWnd;
   L_BOOL bOldStatus;
   if(!m_LBitmapWnd.IsDoubleBufferEnabled())
      bOldStatus = m_LBitmapWnd.EnableDoubleBuffer(TRUE);
   return SUCCESS;
}
Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.