QD_SetDropOptions

QD_SetDropOptions(areaRef; dropOptions):error
areaRef Longint Area reference
dropOptions Longint Drop options
error Longint Error result

Configure various options of a QDrop area

Parameter areaRef is the reference to the plug-in area.

Parameter dropOptions is a combination of options that specify the area's behavior. Use the following constants by combining them with bitwise "OR":

qd_acceptMultipleItems 0x0001 The area accepts multiple items
qd_matchAllDraggedFiles 0x0002 All dragged files must match

Example

   // Accept multiple files and match all files

C_LONGINT($error;$options)

$options:=qd_acceptMultipleItems | qd_matchAllDraggedFiles

$error:=QD_SetDropOptions(xDrop;$options)

Related commands

QD_GetDropOptions Get various options of a QDrop area