IN_EnableDragDrop

All Editions image\bltlrgsq_shg.gif  Related Functions  image\bltlrgsq_shg.gif  Example

The IN_EnableDragDrop function sets whether you can open files by dragging and dropping them into the Imagenation window or document windows, or both.

Syntax

int IN_EnableDragDrop( ImagenationDrop, docwinDrop )

Parameters

Values

Meaning

SHORT ImagenationDrop

-1 do not change

0 do not allow dragging and dropping into the Imagenation window

1 allow dragging and dropping into the Imagenation window

SHORT docwinDrop

-1 do not change

0 do not allow dragging and dropping into document windows

1 allow dragging and dropping into document windows

Remarks

Files that are dragged onto the Imagenation window open into their own document windows. Files that are dragged onto a document window open as layers on the current page in the window.

Release information

Added to Imagenation for Windows in Release 4.30.

As of Release 5.1, also available in Imagenation for UNIX.

See also

Dragging and dropping documents

Opening documents: alternatives

Opening documents: basic