[REBOL] Re: how to drag'n'drop ?
From: anton:lexicon at: 2-Oct-2002 21:27
Maybe it would be possible through the
system port one day (I don't know of
any docs for it yet, I think it's not
really ready in the latest betas.)
To do it now, I think you would need to
access external windows libraries to catch
window messages. That needs /View/Pro or /Command.
You can imagine that implementing drag&drop
between rebol and native os on all platforms
will be difficult, so it hasn't been done yet.
But you could help it happen by looking up
the windows API's required and some example
code, probably c++, that can allow this to
happen. It is possible for a Windows process
to hook in to another process' window and listen to
or modify the window messages that it receives.
So you could launch a separate process to listen
to your rebol window and wait for "drag-over" messages
or however it is done.
Anton.