PureBasic - DragDrop

Overview

Drag & Drop is a widely used technology today as it provides an easy and very intuitive way to move data around between windows and applications. This library provides cross-platform functions to add this functionality to gadgets and windows with just a few extra lines of code.

Furthermore this library provides some functions to extend its default possibilities through platform specific APIs, giving the experienced programmer all the freedom to work with custom formats while still taking advantage of the framework provided by this library.

There are limitations with OSX, only pictures can be drag and dropped.

Command Index

DragFiles
DragImage
DragOSFormats
DragPrivate
DragText
EnableGadgetDrop
EnableWindowDrop
EventDropAction
EventDropBuffer
EventDropFiles
EventDropImage
EventDropPrivate
EventDropSize
EventDropText
EventDropType
EventDropX
EventDropY
SetDragCallback
SetDropCallback

Example

DragDrop.pb

Supported OS

All

Reference Manual - Index