virtual L_INT LDialogFile::DialogOpenCallBack(lpFileData, nTotalPercent, nFilePercent)
Lets you update a status bar or interrupt during the LDialogFile::DoModalOpen function operation.
Pointer to an OPENDLGFILEDATA structure that contains loading data for the file currently being loaded. The data in this structure is read only information.
An integer that indicates the completion percentage for loading all selected files in the Open dialog. This value will be updated every time a file finishes loading. Valid values range from 0 to 100.
An integer that indicates the completion percentage for loading a single file from the selected files. Valid values range from 0 to 100.
|SUCCESS||The function was successful.|
|< 1||An error occurred. Refer to Return Codes.|
Override this function if you wish to provide a Status bar or interrupt during the LDialogFile::DoModalOpen function operation.
This function will be called only if the callback functions are enabled; to enable callback functions for the LBase object Call LBase::EnableCallBack(TRUE).
Required DLLs and Libraries
For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application
For an example, refer to LDialogFile::DoModalOpen.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries