Sent when files are dropped onto an ImageList Control (for example from Explorer).
idCtrl = (L_INT) LOWORD(wParam) identifier of control.
wNotifyCode = HIWORD(wParam) notification code.
pszFilename = (L_CHAR *) lParam pointer to the file that was dropped.
The parent window of the ImageList will get one L_ILN_DROPFILES notification for each file that is dropped onto the ImageList Control when the control has L_ILS_ACCEPTDROPFILES set.
NOTE this is not a complete sample, and is meant only to show you a way in which this message can be used.
L_INT ILN_DROPFILESExample(HWND hCtrl,WPARAM wParam,LPARAM lParam)
{
if(HIWORD(wParam) == L_ILN_DROPFILES)
{
if(lParam)
{
BITMAPHANDLE Bitmap;
LILITEM Item;
L_INT nResult;
THUMBOPTIONS to;
to.nWidth = 80;
to.nHeight = 80;
to.nBits = 24;
to.uCRFlags = 0;
to.bMaintainAspect = TRUE;
to.bForceSize = FALSE;
to.crBackColor = 0;
to.bLoadStamp = FALSE;
to.bResample = TRUE;
nResult = L_CreateThumbnailFromFile((L_TCHAR *)lParam,
&Bitmap,0, &to,
NULL, NULL, NULL, NULL);
if(nResult == SUCCESS)
{
Item.uStructSize = sizeof(LILITEM);
Item.pText = (L_TCHAR *)lParam;
Item.uMask = LILITEM_BITMAP | LILITEM_TEXT;
Item.pBitmap = &Bitmap;
L_ImgListInsert(hCtrl, &Item);
}
}
}
return SUCCESS;
}
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