Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: how to drag'n'drop ?

From: bry:itnisk at: 2-Oct-2002 15:37

Drag and Drop is handled via a DropHandler shell extension, this comes from IDropTarget and also IPersistFile. Here's a link to IDropTarget _d_95tg.asp To set a DropHandler you use the registry: HKEY_CLASSES_ROOT \{filetype} \ShellEx \DropHandler {filetype} does not specify the extension of a file but rather the type of file it is, check HKEY_CLASSES_ROOT\batfile for an example wherein a DropHandler can be found. Since Command can use Dlls Shouldn't it be possible to make some simple drag & dropping work? Perhaps if we had a simple dll that implemented some various drag and drop functions for .r files then Command could just call into that? I think this might be an interesting thing for Command, a library of dlls that are written to provide functionality for Rebol in things for which it is somewhat weak. Just an idea.