DROPFILES_CB
Action called when a file is "dragged" to the application. When several files are dragged, the callback is called several times, once for each file.
[Windows Only]
Callback
int function(Ihandle *ih, const char* filename, int num, int x, int y); [in C] elem:dropfiles_cb(filename: string; num, x, y: number) -> (ret: number) [in Lua]
ih:
Indicator of the element that received the
file drop.
filename:
Name of the dragged file.
num:
Number of the dragged file. If several files
are dragged, num counts the number of dragged files starting from "total-1" to "0".
x:
X coordinate of the point where the user
released the mouse button.
y:
Y coordinate of the point where the user
released the mouse button.
The callback must return IUP_DEFAULT to be called again for each of the dragged files. Returning IUP_IGNORE, the process is interrupted.