Lets you update a status bar or interrupt during the LDialogFile::DoModalOpen function operation.
#include "ltwrappr.h"
virtual L_INT LDialogFile::DialogOpenCallBack(lpFileData, nTotalPercent, nFilePercent)
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.
Value | Meaning |
---|---|
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).
For an example, refer to LDialogFile::DoModalOpen.