LBase::EnableAutoErrorDisplay

#include "ltwrappr.h"

static L_BOOL LBase::EnableAutoErrorDisplay (bEnable)

L_BOOL bEnable;

/* flag that indicates whether to enable or disable auto error display */

Enables or disables automatic error display for the class object.

Parameter

Description

bEnable

Flag that indicates whether to enable or disable auto error display for the class object.

Returns

The previous setting.

Comments

Call this function to enable or disable automatic error display. When automatic error display is enabled, every error recorded to the internal error list will be displayed immediately in a MessageBox. You can use this for debugging purposes or when you do not wish to provide your own error display. The internal error list maintains a running list of the errors that have occurred in the LEADTOOLS Class Library functions.

Required DLLs and Libraries

LTKRN

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:

LBase::GetErrorString, LBase::SetErrorString, LBase::DisplayError, LBase::SetErrorListDepth, LBase::IsAutoErrorDisplayEnabled, LBase::GetErrorFromList, LBase::GetErrorListDepth, LBase::ClearErrorList, LBase::GetErrorsNumber, LBase::DisplayErrorList, LBase::DisplayErrorFromList, LBase::RecordError, Class Members

Example

For an example, refer to LBase::IsAutoErrorDisplayEnabled.