QDrop
![]() |
![]() ![]() |
QD_GetDroppableFileExtensions(areaRef; fileExtensions):error | |||
![]() |
areaRef | Longint | Area reference |
![]() |
fileExtensions | Array string | Droppable file name extensions |
![]() |
error | Longint | Error result |
Returns the file extensions that are accepted by a QDrop plug-in area.
Parameter areaRef is the reference to the plug-in area.
Parameter fileTypes is a string array and it receives the file extensions that are to accepted by the area. In addition to standard file extensions like "txt" and "jpg", QDrop uses a set of magic file types that provide extra matching criteria.
qd_anyFileMagic | "any*" | Accept any file |
qd_folderMagic | "dir*" | Accept folders |
qd_QTImageMagic | "qti*" | Accept image files supported by QuickTime |
qd_QTMovieMagic | "qtm*" | Accept movie files supported by QuickTime |
Example
`Retrieve file extensions C_LONGINT($error) ARRAY STRING(15;$fileExtensions;0) $error:=QD_GetDroppableFileTypes (xDrop;$fileExtensions) |
Related commands
QD_SetDroppableFileExtensions | Configures a QDrop plug-in area to accept specific file extensions |