This function is called for every file that is dropped on the LBitmapWindow object's window.
#include "ltwrappr.h"
virtual L_BOOL LBitmapWindow::OnFileDropped(pszFile, uFileNumber, uFilesCount)
The name of the dropped file.
The number of the dropped file.
The total number of dropped files.
Value | Meaning |
---|---|
TRUE | Continue processing. |
FALSE | Stop processing. |
This function will be called repeatedly as a result of a file drag/drop operations. The function will be called for every file that is dropped on the LBitmapWindow object's window. Override this function if you want to handle the dropped files. The default implementation will attempt to load the image file and display the image.
If more than one file is dropped, then this function will be called for every dropped file, as long as you continue to return TRUE from this function. If you return FALSE, the enumeration process will be terminated.
Win32, x64.
For an example, refer to LBitmapWindow::CreatePanWnd.
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