LBitmapBase::EnableRedirectStatusCallBack

Summary

Enables or disables redirecting the status callback function to the bitmap objects status callback function.

Syntax

#include "ltwrappr.h"

virtual L_BOOL LBitmapBase::EnableRedirectStatusCallBack(bEnable=TRUE)

Parameters

L_BOOL bEnable

Flag that indicates whether to enable redirecting the status callback function. Possible values are:

Value Meaning
TRUE Enable redirecting status callback function.
FALSE Disable redirecting status callback function.

Returns

The previous setting.

Comments

If redirecting the status callback function is enabled, calling a function of any mapped class will result in the status callback function of the bitmap object being called, instead of the status callback function of the mapped class. This only works if the status callback function of the mapped class is enabled.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Example

L_INT LBitmapBase__EnableRedirectStatusCallBackExample(LBitmapBase& Bitmap) 
 
{ 
    
   if(Bitmap.IsRedirectStatusCallBackEnabled()==FALSE) 
      Bitmap.EnableRedirectStatusCallBack(); 
 
   return SUCCESS; 
} 
Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.