LImageViewer::EnablePaintCallBack

#include "ltwrappr.h"

L_BOOL LImageViewer::EnablePaintCallBack(bEnable)

L_BOOL bEnable;

/* flag */

Enables or disables the LImageViewer::PaintCallBack function.

Parameter

Description

bEnable

Flag that indicates whether to enable or disable the LImageViewer::PaintCallBack function. Possible values are:

 

Value

Meaning

 

TRUE

Enables the LImageViewer::PaintCallBack function

 

FALSE

Disables the LImageViewer::PaintCallBack function, this is the defult value.

Returns

The previous setting.

Comments

Call this function to enable or disable the Paint callback overridable function for your class object. This will enable or disable the callback functions, which exist in the calling object.

The user needs to create the image viewer and override PaintCallBack function before use this function

Required DLLs and Libraries

LTIVW

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:

LImageViewer::RepaintCell, LImageViewer::PaintCallBack, Class Members

Topics:

Window Control/Image Viewer Functions: Image Viewer Cells

 

Image Viewer Cells

Example

For an example, refer to LImageViewer::Create.