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

LDoubleBuffer::CreateHandle

Show in webframe

#include "ltwrappr.h"

virtual L_INT LDoubleBuffer::CreateHandle()

Creates the handle that is used throughout the double buffering.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

This function is the first step of a double buffering process. Call LDoubleBuffer::CreateHandle. If successful, your object will contain a double buffering handle that will be used throughout the double buffering process. When you are finished with the object, you must call LDoubleBuffer::DestroyHandle.

You may decide to call this function only one time for your application. If your application is MDI, and you want to double buffer several windows simultaneously, you may want to call this function once for each child window.

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:

Class Members

Topics:

Raster Image Functions: Displaying Images

 

Minimizing Flicker with Double Buffering

Example

For an example, refer to LDoubleBuffer::End.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.