Re: [Fxruby-users] drag and drop with mozilla
Status: Inactive
Brought to you by:
lyle
From: jeroen <je...@fo...> - 2004-06-24 01:57:28
|
On Wednesday 23 June 2004 06:24 pm, Peter Schrammel wrote: > Hi > > I'm a ruby und fx beginner and am looking for the "ultimate" widget set ;-) > > I was trying to write a simple application that stores some bookmarks. > But I'm not able to get the attached samplecode (I found on the INet) to > run. The DROP event is never called. Is the error between my ears or is > this some restriction to fx (DnD just between fx proggs)? On X11, we do XDND, which is now pretty much entrenched as the standard. I've dragged and dropped between Qt and GTK, so its pretty safe to say it works. On Windows, drag and drop is between FOX applications only. > Another question: I read that DnD on Windows is not supported (and will > maybe never be), can you confirm this? Not supported between FOX and non-FOX apps, but supported between FOX apps, in a portable way. It is impossible to implement it in a portable way, due to the way COM is designed. You *can* implement it in a non- portable way, see COM_Example.zip. [Note that this is C++ code]. Jeroen -- +----------------------------------------------------------------------------+ | Copyright (C) 21:40 06/23/2004 Jeroen van der Zijp. All Rights Reserved. | +----------------------------------------------------------------------------+ |