Re: WINDOWS drag and drop into a draw widget [message #56036] |
Sun, 30 September 2007 11:15 |
Jeff N.
Messages: 120 Registered: April 2005
|
Senior Member |
|
|
On Sep 30, 1:47 pm, mark...@gmail.com wrote:
> Hi,
>
> A few years ago a question was posted here asking whether it is
> possible, in windows, to drag and drop a file from Window explorer
> into an IDL draw widget. In the ensuing debate, Peter Mason posted
> some sort of a solution to the problem. I'm wondering, has any more
> progress on this been made? Do any of the recent additions to IDL
> allow for this? I think this is a very useful feature.. handy for
> opening files.
>
> Also, the FTP server where Peter originally posted his solution on has
> gone down. Does anyone here have his file, dropfile.zip? I'd like to
> see what he did...
>
> thanks,
>
> Mark Bates
This won't be as easy a solution as i'm sure you were hoping for, but
if you go here http://www.ittvis.com/codebank/search.asp?FID=159
you'll find some code posted by Peter Mason that allows drag and drop
functionality for an ENVI display window. It uses a DLM he developed,
but he does include the source code for the DLM if I remember
correctly. So you could, if nothing else, potentially modify the
stuff he posted to work on a draw widget instead of an ENVI display.
Hopefully someone will post something a little more straightforward
though :)
Jeff
|
|
|