LBitmapWindow::EnablePaintWhileLoad

#include "ltwrappr.h"

L_BOOL LBitmapWindow::EnablePaintWhileLoad(bEnable)

L_BOOL bEnable;

/* flag that indicates whether PaintWhileLoad is enabled */

Enables or disables painting the bitmap while loading.

Parameter

Description

bEnable

Flag that indicates whether painting the bitmap while loading is enabled or disabled. Possible values are:

 

Value

Meaning

 

TRUE

Enable painting the bitmap while loading.

 

FALSE

Disable painting the bitmap while loading.

Returns

The previous setting.

Comments

When PaintWhileLoad is enabled, the class object will display the bitmap as it is loaded, when using the Load functions.

Required DLLs and Libraries

LTDIS
LTDLG
LTEFX
LTFIL
LTIMG
LTISI
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.

See Also

Functions:

Class Members

Topics:

Raster Image Functions: Loading Files

 

Raster Image Functions: Input and Output

 

Loading and Saving Images

Example

L_VOID MyFunc(LBitmapWindow& BmpWnd)
{
   if(BmpWnd.IsPaintWhileLoadEnabled()==FALSE)
      BmpWnd.EnablePaintWhileLoad(TRUE);
}