Available in the LEADTOOLS Imaging toolkit. |
FileLoad Event (ILEADRasterDlgFile)
void FileLoad(short iTotalPercent, short iFilePercent); | |
Overview |
Refer to Using Imaging Common Dialogs |
Remarks
The FileLoad event is triggered for each file selected by the user to be opened using the Open dialog box when the user want to open multiple files at the same time.
This event will be triggered only if OPEN_ALLOWMULTI is set in the UIFlags property.
If you set OPEN_LOADBITMAP in UIFlags property, the Bitmap property will be valid during this event only when the nFilePercent= 100.
If you set OPEN_GENERATETHUMBNAIL in UIFlags property, the Thumbnail property will be valid during this event only when the nFilePercent= 100.
The FileName property will be changed in this event according to the file currently loading.
Do not assign 0 to LEADDlgFile.Bitmap or LEADDlgFile.Thumbnail during this event.
See Also
Elements |
ShowOpenDlg method, Bitmap property, Thumbnail property, FileName property. |