Initializes the internal data for the LEADTOOLS Common Dialogs.
#include "ltwrappr.h"
static L_INT LDialogBase::Initialize (uFlags)
Data initialization flags. Determines the dialog data to be initialized.
Value | Meaning |
---|---|
0 | [0x0000] Initialize only the essential data: required for all dialogs. |
DLG_INIT_COLOR | [0x0001] Initialize LEAD color data for the dialogs and enable the use of color models such as RGB, HSB, Lab, etc. Setting this flag lets LEADTOOLS display the LEAD Color dialog when the color picker button is pressed in any dialog that includes a color picker button. |
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
You must call this function once and only once before using any LEADTOOLS Common Dialogs. Additionally, you must call LDialogBase::Free when you are finished using LEADTOOLS Common Dialogs in your application.
If you pass DLG_INIT_COLOR you must have LtClru.dll, LtDlgResu.dll, and LtDlgClru.dll.
For an example, refer to LDialogImage::DoModalRotate or LDialogColor::DoModalBrightness.
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