comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » WINDOWS drag and drop into a draw widget
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
WINDOWS drag and drop into a draw widget [message #56037] Sun, 30 September 2007 10:47 Go to next message
markb77 is currently offline  markb77
Messages: 217
Registered: July 2006
Senior Member
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
Re: WINDOWS drag and drop into a draw widget [message #56109 is a reply to message #56037] Tue, 02 October 2007 18:27 Go to previous messageGo to next message
Andrew Cool is currently offline  Andrew Cool
Messages: 219
Registered: January 1996
Senior Member
On Oct 1, 2:47 am, 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

Hi Mark,

I still have Peter Mason's dropfile code.

I've placed it at http://www.cool.id.au/IDL/

Note that I've modified the dropfile_test.pro routine to actually
display image files dragged
onto the IDL window, and best of all, it still works under XP SP2
using IDL v6.4!!

So check out the separate dropfile_test.pro rather than the original
in the zip file, which doesn't
display the image, but just the filename.

Andrew C.
Re: WINDOWS drag and drop into a draw widget [message #56183 is a reply to message #56109] Thu, 04 October 2007 10:50 Go to previous message
markb77 is currently offline  markb77
Messages: 217
Registered: July 2006
Senior Member
Peter, Andrew,

Thanks - that works brilliantly.

Mark
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: dynamic widget
Next Topic: Re: David's TVSCALE

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 11:45:47 PDT 2025

Total time taken to generate the page: 0.00523 seconds