I was reading about drag and drop within and between FOX applications
but I was wondering if it was possible to drag and drop a file from the
filesystem into a FOX application? Obviously I could use the file open
dialog box but drag and drop is a nice feature.
This message and any enclosures are intended only for the addressee. Please
notify the sender by email if you are not the intended recipient. If you are
not the intended recipient, you may not use, copy, disclose, or distribute this
message or its contents or enclosures to any other person and any such actions
may be unlawful. Ball reserves the right to monitor and review all messages
and enclosures sent to or from this email address.
fxruby-users mailing list
[hidden email] http://rubyforge.org/mailman/listinfo/fxruby-users
On Tue, Mar 25, 2008 at 11:09 AM, Thomas, Jason M (Software)
<[hidden email]> wrote:
> I was reading about drag and drop within and between FOX applications
> but I was wondering if it was possible to drag and drop a file from the
> filesystem into a FOX application? Obviously I could use the file open
> dialog box but drag and drop is a nice feature.
The short answer is that it's not possible at this time.
For this to work would require a change to the core FOX event loop.
When the application receives a WM_DROPFILES messages from the Win32
layer, it should (somehow) synthesize a drop event in your FOX/FXRuby
application. I know the subject has come up before, and I can even see
some commented-out code in FOX that suggests to me that someone
(presumably Jeroen) has investigated it in the past.