2.2.1 Drag-Drop Feature

When an application implements the drag-drop feature, a user can select one or more files in Windows File Manager, drag them to an open application, and drop them there. The application receives a message it can use to retrieve the filenames and the coordinates of the point at which the files were dropped.

Following are the new drag-drop functions:

Function Description

DragAcceptFiles Registers whether a window accepts dropped files.
DragFinish Releases memory allocated for dropping files.
DragQueryFile Retrieves the filename of a dropped file.
DragQueryPoint Retrieves the cursor position when a file is dropped.

The drag-drop feature depends on the dynamic-link library SHELL.DLL. This is a redistributable library.