LBase::DisplayErrorList

#include "ltwrappr.h"

static L_VOID LBase::DisplayErrorList(hWndParent, bShowLastErrorFirst=TRUE)

HWND hWndParent;

/* window handle of the parent window */

L_BOOL bShowLastErrorFirst;

/* flag that indicates the order of the errors */

Displays all the errors recorded in the error list.

Parameter

Description

hWndParent

Window handle of the parent window of the errors dialog.

bShowLastErrorFirst

Flag that indicates the order to use when displaying the errors. Possible values are:

Value

Meaning

TRUE

Display the last error first.

FALSE

Display the oldest error first.

Returns

None

Comments

Call this function to display all the errors recorded in the error list. The internal error list maintains a running list of the errors that have occurred in the LEADTOOLS C++ Class Library functions. This function will display a dialog box with a listbox that contains all the error strings for the currently recorded errors.

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::EnableAutoErrorDisplay, LBase::SetErrorString, LBase::DisplayError, LBase::GetErrorFromList, LBase::IsAutoErrorDisplayEnabled, LBase::GetErrorFromList, LBase::SetErrorListDepth, LBase::RecordError, LBase::GetErrorListDepth, LBase::ClearErrorList, LBase::GetErrorsNumber, LBase::DisplayErrorFromList, Class Members

Example

L_INT LBase__DisplayErrorListExample(HWND hWndParent)
{
   LBitmap LeadBitmap;
   // do your processing
   //…
   LeadBitmap.DisplayErrorList(hWndParent);
	return SUCCESS;
}