Return to previous page Last updated: 31-aug-1999
    [main] [About] [delphi] [library]
  
 
  Drag and Drop Component Suite

 
Description 

Download 

See also 

Conditions of use 

Feedback 

Version 3.7
For Delphi 3, 4 & 5 and C++ Builder 3 & 4

 Description

    What's new in version 3.7
  Supports Delphi 5.
DIB handling improved for TDropBMP* components.
TDropTarget.Target property has been made read only.
The IDropTarget methods of the TDropTarget class has been made easier to override.
It is now possible to temporarily hide the drag image using the TDropTargetShowImage property.
PIDLDemo improved to better handle drag images.
Bug fix: Fixed resource leak in TDropURLTarget.

The Drag & Drop Component Suite is a collection of components that enables drag and drop between your Delphi and C++ Builder application and any other application that supports drag and drop (e.g. Explorer or Word).

The components implements and encapsulates the IDropSource, IDropTarget and IDataObject COM interfaces which are required for drag and drop support and thereby relieves the developer of this task.

The component suite currently supports drag and drop of text, bitmaps, URLs, files, shortcuts and PIDLs, and support for additional formats can easily be implemented.

The Drag & Drop Component Suite contains the following components:

  Drop Sources   Drop Targets
TDropFileSource
Enables you to drag files and shortcuts from your application to other applications.
TDropFileTarget
Enables your application to accept files and shortcuts dropped on it from other applications.
TDropTextSource
Enables you to drag text from your application to other applications.
TDropTextTarget
Enables your application to accept text dropped on it from other applications.
TDropBMPSource
Enables you to drag bitmaps from your application to other applications.
TDropBMPTarget
Enables your application to accept bitmaps dropped on it from other applications.
TDropURLSource
Enables you to drag URLs from your application to other applications.
TDropURLTarget
Enables your application to accept URLs dropped on it from other applications.
TDropPIDLSource
Enables you to drag PIDLs (files, folder, shell objects) from your application to other applications.
TDropPIDLTarget
Enables your application to accept PIDLs (files, folder, shell objects) dropped on it from other applications.
    TDropDummy
Helper component used to display drag images.

The components are a co-development between Angus Johnson and Anders Melander and are based on Angus Johnson's Drop Target components and Anders Melander's Drop Source library.


 Download

Full kit  
DragDrop0307.exe 
(~420 Kb)
Full kit
Includes component source, packages for Delphi and C+ Builder, demo applications and context sensitive on-line help.
Extract demo  
ExtractDemo.zip 
(5 Kb)
Extract/Download demo application.
Demonstrates how to handle drop sourcing in a unzipper/download application.


 See also
Remote links
Link OLE Drag and Drop in Delphi.
by Graham Wideman. Lots of very good information on COM based Drag and Drop. Graham's GWDropDemo utility were used as a debugging tool in the development of the Drag & Drop Component Suite.
Link Drop sourcing in 16 bit windows
UNDU article describing the undocumented techniques required to source a drag/drop operation in 16 bit Windows.
Link Receiving file drops without COM
Borland FAQ. Describes how to accept file drops using the WM_DROPFILES message. Examples in Pascal.
Link Receiving file drops without COM
MSDN article. Describes how to accept file drops using the WM_DROPFILES message. Examples in C.
Link COM Based Drag & Drop.
Microsoft platform SDK. Describes the IDropSource and IDropTarget interfaces.
 


 Conditions of use

The Drag & Drop Component Suite is Copyright ⌐ 1997-99 Angus Johnson and Anders Melander.
All rights reserved.

Please read the copyright statement in the on-line help for conditions of use.


 Feedback

If you have any suggestions, comments, improvement ideas or new features you would like to see added to these components, please e-mail them to: Angus Johnson or Anders Melander or fill out the feedback form.

If you would like to be notified via e-mail when specific components are updated, you can register with the mailing lists

Bug reports can either be reported on the Bug report form or mailed to the above addresses.

 
Goto Top of Page
Copyright ⌐ 1999 Anders Melander. All rights reserved.