Enables or disables the sending of change notifications.
#include "ltwrappr.h"
virtual L_BOOL LBitmapBase::EnableChangeNotification(bEnable=TRUE)
Flag that indicates whether to enable or disable the change notifications. Possible values are:
Value | Meaning |
---|---|
TRUE | Enable the change notifications. |
FALSE | Disable the change notifications. |
The previous setting.
Call this function to enable or disable the sending of change notifications. Disabling the change notifications will speed up your code because the notification functions will not be called. However, this will prevent you from having control over the different operations that are performed on the bitmap.
Win32, x64.
L_INT LBitmapBase__EnableChangeNotificationExample()
{
L_INT nRet;
LBitmapBase MyBitmap;
nRet =MyBitmap.Load(MAKE_IMAGE_PATH(TEXT("image1.cmp")),24);
if(nRet !=SUCCESS)
return nRet;
if(MyBitmap.IsChangeNotificationEnabled()==FALSE)
MyBitmap.EnableChangeNotification(TRUE);
return SUCCESS;
}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document